File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
- [ ] closes #xxxx
2
2
- [ ] tests added / passed
3
- - [ ] passes `` git diff upstream/master | flake8 --diff ``
3
+ - [ ] passes `` git diff upstream/master --name-only -- '*.py' | flake8 --diff ``
4
4
- [ ] whatsnew entry
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ Travis-CI will run the `flake8 <http://pypi.python.org/pypi/flake8>`_ tool
518
518
and report any stylistic errors in your code. Therefore, it is helpful before
519
519
submitting code to run the check yourself on the diff::
520
520
521
- git diff master | flake8 --diff
521
+ git diff master --name-only -- '*.py' | flake8 --diff
522
522
523
523
This command will catch any stylistic errors in your changes specifically, but
524
524
be beware it may not catch all of them. For example, if you delete the only
You can’t perform that action at this time.
0 commit comments