mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Check PEP8 using Pylint
This commit is contained in:
parent
6db389b15d
commit
bcd908ca2b
1 changed files with 14 additions and 4 deletions
|
@ -14,8 +14,7 @@ init-hook="
|
|||
# Pickle collected data for later comparisons.
|
||||
persistent=no
|
||||
|
||||
load-plugins=salttesting.pylintplugins.pep263
|
||||
|
||||
load-plugins=salttesting.pylintplugins.pep8,salttesting.pylintplugins.pep263
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
|
@ -60,7 +59,16 @@ disable=R,
|
|||
W0631,
|
||||
W0704,
|
||||
F0220,
|
||||
F0401
|
||||
F0401,
|
||||
E8501,
|
||||
E8121,
|
||||
E8122,
|
||||
E8123,
|
||||
E8124,
|
||||
E8125,
|
||||
E8126,
|
||||
E8127,
|
||||
E8128
|
||||
|
||||
# Disabled:
|
||||
# R* [refactoring suggestions & reports]
|
||||
|
@ -91,7 +99,9 @@ disable=R,
|
|||
# W0704 (pointless-except) [misnomer; "ignores the exception" rather than "pointless"]
|
||||
# F0220 (unresolved-interface)
|
||||
# F0401 (import-error)
|
||||
|
||||
#
|
||||
# E812* All PEP8 E12*
|
||||
# E8501 PEP8 line too long
|
||||
|
||||
[REPORTS]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue