mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
1. mccabe.py support # NOQA 2. run.py support ignore some errors 3. run.py add max_line_length default value
This commit is contained in:
parent
dd92d52f06
commit
ccc7acc62e
3 changed files with 17 additions and 10 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