Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Exclude build/src directories from PEP8 check
Browse files Browse the repository at this point in the history
The `build` and `src` directories are created and left by pip on
failed installs. They should never be included in PEP8 checks.
  • Loading branch information
robyoung committed Dec 17, 2013
1 parent d921e02 commit 3a6d2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep-it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
set -e

basedir=$(dirname $0)
pep8 --ignore=E201,E202,E241,E251 --exclude=tests,config,features "$basedir"
pep8 --ignore=E201,E202,E241,E251 --exclude=tests,config,features,build "$basedir"
pep8 --ignore=E201,E202,E241,E251,E501 "$basedir/tests" "$basedir/features"

1 comment on commit 3a6d2c5

@fawkesley
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add src/ and venv/ for those unfortunate enough to have ever made a virtualenv in that directory...

Please sign in to comment.