mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Start checking code to enforce a minimum python version support
This commit is contained in:
parent
4a98df5aef
commit
ee9d6ed6af
2 changed files with 12 additions and 2 deletions
|
@ -30,13 +30,18 @@ persistent=yes
|
|||
load-plugins=saltpylint.pep8,
|
||||
saltpylint.pep263,
|
||||
saltpylint.strings,
|
||||
saltpylint.fileperms
|
||||
saltpylint.fileperms,
|
||||
saltpylint.pyminver
|
||||
|
||||
|
||||
# Fileperms Lint Plugin Settings
|
||||
fileperms-default=0644
|
||||
fileperms-ignore-paths=tests/runtests.py,tests/jenkins*.py,tests/saltsh.py,tests/buildpackage.py
|
||||
|
||||
|
||||
# Minimum Python Version To Enforce
|
||||
minimum-python-version = 2.6
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
# Enable the message, report, category or checker with the given id(s). You can
|
||||
|
|
|
@ -17,12 +17,17 @@ persistent=no
|
|||
load-plugins=saltpylint.pep8,
|
||||
saltpylint.pep263,
|
||||
saltpylint.strings,
|
||||
saltpylint.fileperms
|
||||
saltpylint.fileperms,
|
||||
saltpylint.minpyver
|
||||
|
||||
# Fileperms Lint Plugin Settings
|
||||
fileperms-default=0644
|
||||
fileperms-ignore-paths=tests/runtests.py,tests/jenkins*.py,tests/saltsh.py,tests/buildpackage.py
|
||||
|
||||
|
||||
# Minimum Python Version To Enforce
|
||||
minimum-python-version = 2.6
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
# Enable the message, report, category or checker with the given id(s). You can
|
||||
|
|
Loading…
Add table
Reference in a new issue