Skip to content

Commit da57857

Browse files
committed
DOC: Patch new flake8 command grep
The grep was initially matching to "pandas," which is incorrect because that was also matching files containing "pandas" in the name but that were not in the main pandas directory (e.g. performance test code) Follow-up to gh-15712 [ci skip]
1 parent 771e36c commit da57857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/contributing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ unused function. However, style-checking the diff will not catch this because
527527
the actual import is not part of the diff. Thus, for completeness, you should
528528
run this command, though it will take longer::
529529

530-
git diff master --name-only -- '*.py' | grep 'pandas' | xargs -r flake8
530+
git diff master --name-only -- '*.py' | grep 'pandas/' | xargs -r flake8
531531

532532
Backwards Compatibility
533533
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)