summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-07-25 19:32:42 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2016-07-25 19:38:19 -0500
commit222292c4b2bb595c81d749bfd35ef9adc640bacb (patch)
tree4ff1ab3709e2c84861d8427cecee6c019cd901d5 /setup.py
parent4dc1d11a627a571eeae4e0ae3da7b94e7de04214 (diff)
downloadflake8-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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index cd002cd..680e68f 100644
--- a/setup.py
+++ b/setup.py
@@ -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=[