Skip to content

Commit

Permalink
Switch to the SaltPyLint library.
Browse files Browse the repository at this point in the history
Disable `E8402`.

When merging forward, **ignore this commit**.
  • Loading branch information
s0undt3ch committed Mar 31, 2015
1 parent 987a577 commit 0a6cd9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
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

0 comments on commit 0a6cd9d

Please sign in to comment.