diff --git a/setup.cfg b/setup.cfg index 88b996fe6..a88c72590 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 487fc1285..a9888c418 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()