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
bcd908ca2b
commit
5c09aa1460
1 changed files with 16 additions and 2 deletions
18
.pylintrc
18
.pylintrc
|
@ -27,7 +27,7 @@ persistent=yes
|
|||
|
||||
# List of plugins (as comma separated values of python modules names) to load,
|
||||
# usually to register additional checkers.
|
||||
load-plugins=salttesting.pylintplugins.pep263
|
||||
load-plugins=salttesting.pylintplugins.pep8,salttesting.pylintplugins.pep263
|
||||
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
@ -41,7 +41,21 @@ load-plugins=salttesting.pylintplugins.pep263
|
|||
# can either give multiple identifier separated by comma (,) or put this option
|
||||
# multiple time (only on the command line, not in the configuration file where
|
||||
# it should appear only once).
|
||||
disable=W0142
|
||||
disable=W0142,
|
||||
# E8121,
|
||||
# E8122,
|
||||
# E8123,
|
||||
# E8124,
|
||||
# E8125,
|
||||
# E8126,
|
||||
# E8127,
|
||||
# E8128
|
||||
|
||||
# Disabled Checks
|
||||
#
|
||||
# W0142 (star-args)
|
||||
# E812* All PEP8 E12*
|
||||
# E8501 PEP8 line too long
|
||||
|
||||
|
||||
[REPORTS]
|
||||
|
|
Loading…
Add table
Reference in a new issue