pycodestyle: Only use format=pylint from setup.py

Don't force it on users who are running the tool manually
This commit is contained in:
Cole Robinson 2019-01-26 18:04:26 -05:00
parent 8502b84dbd
commit a9f818b44b
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,5 @@
[pycodestyle]
format = pylint
# List of error codes:
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes

View File

@ -613,6 +613,7 @@ class CheckPylint(distutils.core.Command):
print("running pycodestyle")
style_guide = pycodestyle.StyleGuide(
config_file='setup.cfg',
format="pylint",
paths=files
)
report = style_guide.check_files()