Merge from the flake8 trunk

This commit is contained in:
Peter Teichman 2012-09-15 13:52:37 -04:00
commit 4a7b381fc0
5 changed files with 825 additions and 573 deletions

2
README
View file

@ -90,7 +90,7 @@ To use the Git hook on any *commit*, add a **pre-commit** file in the
STRICT = False
if __name__ == '__main__':
sys.exit(git_hook(complexity=COMPLEXITY, strict=STRICT))
sys.exit(git_hook(complexity=COMPLEXITY, strict=STRICT, ignore='E501'))
If *strict* option is set to **True**, any warning will block the commit. When