Skip to content

Commit a13705c

Browse files
rossbarlarsoner
andauthored
Be explicit about regex syntax for exclude config val
Co-authored-by: Eric Larson <[email protected]>
1 parent 87dd52f commit a13705c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ numpydoc_validation_exclude : set
131131

132132
If you wanted to also skip getter methods of ``MyClass``::
133133

134-
numpydoc_validation_exclude = {"mypkg.mymodule.", "MyClass.get"}
134+
numpydoc_validation_exclude = {r"mypkg\.mymodule\.", r"MyClass\.get$"}
135135

136136
The default is an empty set meaning no objects are excluded from docstring
137137
validation by default.

0 commit comments

Comments
 (0)