Paver: pep8/pylint violations limit switch. Fail if limit is breached.
This adds the -l switch, wherein a violations limit is passed in. For example: paver run_pep8 -l 700 Will fail if more than 700 violations are found. By default, this limit is not enforced (i.e. if the -l switch is not passed into the command, then a limit will not be put into effect for that run)
Showing
- pavelib/paver_tests/pylint_test_list.json 6 additions, 0 deletionspavelib/paver_tests/pylint_test_list.json
- pavelib/paver_tests/test_paver_quality.py 45 additions, 0 deletionspavelib/paver_tests/test_paver_quality.py
- pavelib/quality.py 51 additions, 3 deletionspavelib/quality.py
- scripts/all-tests.sh 3 additions, 2 deletionsscripts/all-tests.sh
Loading
Please register or sign in to comment