diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2015-04-05 23:01:43 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2015-04-05 23:01:44 -0500 |
| commit | 12fab2f8ad8f09553cebdf6a077519266eae9002 (patch) | |
| tree | 1da571751f78f7b171ec6b269e58fa148c3259da | |
| parent | ea628fa9d16b3adc6e15e6726439128d345d80d4 (diff) | |
| download | flake8-bug/52.tar.gz | |
Change the git-hook ignore default to Nonebug/52
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
| -rw-r--r-- | flake8/hooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flake8/hooks.py b/flake8/hooks.py index 659e5d4..2d1db8d 100644 --- a/flake8/hooks.py +++ b/flake8/hooks.py @@ -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__': |
