Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up numpydoc validation regexen #2525

Merged

Conversation

adeak
Copy link
Member

@adeak adeak commented Apr 28, 2022

While I was trying to figure out for #2483 how to disable validation errors triggered by PointSet.__new__ and __init__ I found several issues in the numpydoc validation exemption regex set. I tried to clean these up. Some logical reordering might still be necessary.

In the current state of the PR every excluded name is an exact match with the exception of .*Reader, because there are many of those and many (all?) of them would need to be excluded. Hopefully we won't end up creating a class called SomethingReader that is a different kind of class that would work with numpydoc validation.

* upstream/main:
  Make VTK version error clear when PointSet is still abstract (pyvista#2483)
  Use imageio intersphinx links (pyvista#2489)
  Fix glyphs when orienting with cell data (pyvista#2500)
  Bump mypy from 0.942 to 0.950 (pyvista#2522)
  Update hypothesis requirement from <6.45.1 to <6.45.2 (pyvista#2523)
  Add many Readers (pyvista#2496)
  Bump trimesh from 3.10.8 to 3.11.2 (pyvista#2519)
  Return actor from add_mesh_threshold (pyvista#2516)
  fix uniformgrid.x docstring (pyvista#2511)
  Update imageio requirement from <2.18.0 to <2.19.0 (pyvista#2506)
  Update hypothesis requirement from <6.44.1 to <6.45.1 (pyvista#2507)
  add polyhedral example (pyvista#2505)
@adeak adeak added documentation Anything related to the documentation/website maintenance Low-impact maintenance activity labels Apr 28, 2022
@codecov
Copy link

codecov bot commented Apr 28, 2022

Codecov Report

Merging #2525 (afa8150) into main (9a1373d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2525   +/-   ##
=======================================
  Coverage   93.72%   93.72%           
=======================================
  Files          75       75           
  Lines       16120    16120           
=======================================
  Hits        15108    15108           
  Misses       1012     1012           

Copy link
Member

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up.

@akaszynski akaszynski merged commit 1b1f64c into pyvista:main May 5, 2022
@adeak adeak changed the title Maint/fix numpydoc validation regexen Clean up numpydoc validation regexen May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Anything related to the documentation/website maintenance Low-impact maintenance activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants