File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -520,6 +520,15 @@ submitting code to run the check yourself on the diff::
520520
521521 git diff master | flake8 --diff
522522
523+ This command will catch any stylistic errors in your changes specifically, but
524+ be beware it may not catch all of them. For example, if you delete the only
525+ usage of an imported function, it is stylistically incorrect to import an
526+ unused function. However, style-checking the diff will not catch this because
527+ the actual import is not part of the diff. Thus, for completeness, you should
528+ run this command, though it will take longer::
529+
530+ git diff master --name-only -- '*.py' | grep 'pandas' | xargs -r flake8
531+
523532Backwards Compatibility
524533~~~~~~~~~~~~~~~~~~~~~~~
525534
You can’t perform that action at this time.
0 commit comments