Skip to content

Commit 02e1014

Browse files
committed
pycodestyle: Only use format=pylint from setup.py
Don't force it on users who are running the tool manually
1 parent 821d7a8 commit 02e1014

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def run(self):
5959
print("running pycodestyle")
6060
style_guide = pycodestyle.StyleGuide(
6161
config_file='tox.ini',
62+
format="pylint",
6263
paths=files,
6364
)
6465
style_guide.options.exclude = pycodestyle.normalize_paths(

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ omit =
2222

2323

2424
[pycodestyle]
25-
format = pylint
26-
2725
# [E125] Continuation indent isn't different from next block
2826
# [E128] Not indented for visual style
2927
# [E129] visually indented line with same indent as next logical line

0 commit comments

Comments
 (0)