diff --git a/.pylintrc b/.pylintrc index db3d02b3e1..b86d0fc153 100644 --- a/.pylintrc +++ b/.pylintrc @@ -27,9 +27,16 @@ 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=salttesting.pylintplugins.pep8, + salttesting.pylintplugins.pep263, + salttesting.pylintplugins.strings, + salttesting.pylintplugins.fileperms +# Fileperms Lint Plugin Settings +fileperms-default=0644 +fileperms-ignore-paths=tests/runtests.py,tests/jenkins*.py,tests/saltsh.py,tests/buildpackage.py + [MESSAGES CONTROL] # Enable the message, report, category or checker with the given id(s). You can diff --git a/.testing.pylintrc b/.testing.pylintrc index a98e6435b7..d787c2ed43 100644 --- a/.testing.pylintrc +++ b/.testing.pylintrc @@ -14,7 +14,14 @@ init-hook=" # Pickle collected data for later comparisons. persistent=no -load-plugins=salttesting.pylintplugins.pep8,salttesting.pylintplugins.pep263,salttesting.pylintplugins.strings +load-plugins=salttesting.pylintplugins.pep8, + salttesting.pylintplugins.pep263, + salttesting.pylintplugins.strings, + salttesting.pylintplugins.fileperms + +# Fileperms Lint Plugin Settings +fileperms-default=0644 +fileperms-ignore-paths=tests/runtests.py,tests/jenkins*.py,tests/saltsh.py,tests/buildpackage.py [MESSAGES CONTROL]