mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
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:
parent
8502b84dbd
commit
a9f818b44b
@ -1,7 +1,5 @@
|
|||||||
[pycodestyle]
|
[pycodestyle]
|
||||||
|
|
||||||
format = pylint
|
|
||||||
|
|
||||||
# List of error codes:
|
# List of error codes:
|
||||||
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
|
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
|
||||||
|
|
||||||
|
1
setup.py
1
setup.py
@ -613,6 +613,7 @@ class CheckPylint(distutils.core.Command):
|
|||||||
print("running pycodestyle")
|
print("running pycodestyle")
|
||||||
style_guide = pycodestyle.StyleGuide(
|
style_guide = pycodestyle.StyleGuide(
|
||||||
config_file='setup.cfg',
|
config_file='setup.cfg',
|
||||||
|
format="pylint",
|
||||||
paths=files
|
paths=files
|
||||||
)
|
)
|
||||||
report = style_guide.check_files()
|
report = style_guide.check_files()
|
||||||
|
Loading…
Reference in New Issue
Block a user