File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 86
86
numpydoc_xref_ignore = {'optional' , 'type_without_description' , 'BadException' }
87
87
# Run docstring validation as part of build process
88
88
numpydoc_validate = True
89
- # Report warnings from all build-in validation checks
90
- from numpydoc .validate import ERROR_MSGS
91
- numpydoc_validation_checks = set (ERROR_MSGS .keys ())
89
+ numpydoc_validation_checks = {
90
+ "GL06" , # Unknown section name
91
+ "GL07" , # Sections in wrong order
92
+ "GL08" , # Object missing docstring
93
+ "PR01" , # Missing parameters
94
+ "PR02" , # Unknown parameters
95
+ "PR03" , # Incorrect parameter ordering
96
+ "PR10" , # Missing colon between parameter name and type
97
+ "RT01" , # No returns section
98
+ "SA01" , # Missing See Also section
99
+ "EX01" , # Missing Examples section
100
+ }
92
101
93
102
# The language for content autogenerated by Sphinx. Refer to documentation
94
103
# for a list of supported languages.
You can’t perform that action at this time.
0 commit comments