diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-25 19:32:42 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-25 19:38:19 -0500 |
| commit | 222292c4b2bb595c81d749bfd35ef9adc640bacb (patch) | |
| tree | 4ff1ab3709e2c84861d8427cecee6c019cd901d5 /setup.py | |
| parent | 4dc1d11a627a571eeae4e0ae3da7b94e7de04214 (diff) | |
| download | flake8-222292c4b2bb595c81d749bfd35ef9adc640bacb.tar.gz | |
Handle repeated --quiet options again
Fundamentally on Flake8 2.x using -q altered the format of the errors
(and the behaviour a little) so it makes the most sense to implement
this logic with formatters rather than messy logic spread throughout
the project.
The FilenameOnly formatter will keep track of filenames already reported
and only print the name once while Nothing will print nothing.
Closes #180
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -107,6 +107,8 @@ setuptools.setup( 'flake8.report': [ 'default = flake8.formatting.default:Default', 'pylint = flake8.formatting.default:Pylint', + 'quiet-filename = flake8.formatting.default:FilenameOnly', + 'quiet-nothing = flake8.formatting.default:Nothing', ], }, classifiers=[ |
