mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
Merge from the flake8 trunk
This commit is contained in:
commit
4a7b381fc0
5 changed files with 825 additions and 573 deletions
2
README
2
README
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue