Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to the SaltPyLint library. #22182

Merged
merged 1 commit into from Mar 31, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .pylintrc
Expand Up @@ -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.pep8,salttesting.pylintplugins.pep263,salttesting.pylintplugins.strings
load-plugins=saltpylint.pep8,saltpylint.pep263,saltpylint.strings


[MESSAGES CONTROL]
Expand All @@ -42,7 +42,8 @@ load-plugins=salttesting.pylintplugins.pep8,salttesting.pylintplugins.pep263,sal
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
disable=W0142,
C0330
C0330,
E8402
# E8121,
# E8122,
# E8123,
Expand All @@ -58,6 +59,7 @@ disable=W0142,
# E812* All PEP8 E12*
# E8501 PEP8 line too long
# C0330 (bad-continuation)
# E8402 module level import not at top of file


[REPORTS]
Expand Down
6 changes: 4 additions & 2 deletions .testing.pylintrc
Expand Up @@ -14,7 +14,7 @@ init-hook="
# Pickle collected data for later comparisons.
persistent=no

load-plugins=salttesting.pylintplugins.pep8,salttesting.pylintplugins.pep263,salttesting.pylintplugins.strings
load-plugins=saltpylint.pep8,saltpylint.pep263,saltpylint.strings

[MESSAGES CONTROL]

Expand Down Expand Up @@ -74,7 +74,8 @@ disable=R,
E8128,
E8129,
E8131,
E8265
E8265,
E8402

# Disabled:
# R* [refactoring suggestions & reports]
Expand Down Expand Up @@ -112,6 +113,7 @@ disable=R,
# E812* All PEP8 E12*
# E8265 PEP8 E265 - block comment should start with "# "
# E8501 PEP8 line too long
# E8402 module level import not at top of file

[REPORTS]

Expand Down