From da57857baff029e964b96484d54cb9c6870bb779 Mon Sep 17 00:00:00 2001 From: gfyoung <gfyoung17@gmail.com> Date: Mon, 20 Mar 2017 14:59:53 -0400 Subject: [PATCH] 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] --- doc/source/contributing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 7961780d0c79b..cd1c004666dae 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -527,7 +527,7 @@ unused function. However, style-checking the diff will not catch this because the actual import is not part of the diff. Thus, for completeness, you should run this command, though it will take longer:: - git diff master --name-only -- '*.py' | grep 'pandas' | xargs -r flake8 + git diff master --name-only -- '*.py' | grep 'pandas/' | xargs -r flake8 Backwards Compatibility ~~~~~~~~~~~~~~~~~~~~~~~