mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
Change the git-hook ignore default to None
When ignore is an empty string, it will apparently not run any checks at all. Using None as the default ensures that it does run the appropriate checks. Closes #52
This commit is contained in:
parent
ea628fa9d1
commit
12fab2f8ad
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ from flake8.hooks import git_hook, get_git_param
|
|||
# git config flake8.complexity 10
|
||||
COMPLEXITY = get_git_param('FLAKE8_COMPLEXITY', 10)
|
||||
STRICT = get_git_param('FLAKE8_STRICT', False)
|
||||
IGNORE = get_git_param('FLAKE8_IGNORE')
|
||||
IGNORE = get_git_param('FLAKE8_IGNORE', None)
|
||||
LAZY = get_git_param('FLAKE8_LAZY', False)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue