Start checking code to enforce a minimum python version support

This commit is contained in:
Pedro Algarvio 2015-04-24 16:32:53 +01:00
parent 4a98df5aef
commit ee9d6ed6af
2 changed files with 12 additions and 2 deletions

View file

@ -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

View file

@ -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