From a9f818b44b5066b918e2f90ff3027b3c8d7646cb Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sat, 26 Jan 2019 18:04:26 -0500 Subject: [PATCH] pycodestyle: Only use format=pylint from setup.py Don't force it on users who are running the tool manually --- setup.cfg | 2 -- setup.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 88b996fe..a88c7259 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,5 @@ [pycodestyle] -format = pylint - # List of error codes: # https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes diff --git a/setup.py b/setup.py index 487fc128..a9888c41 100755 --- a/setup.py +++ b/setup.py @@ -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()