Commit Graph

113 Commits

Author SHA1 Message Date
stv
cf9308144d Fix PEP8: E302 expected 2 blank lines, found 1 2014-11-10 11:00:11 -08:00
David Baumgold
9902dcb10f Disable FIXME errors on paver run_quality
Not on `paver run_pylint`
2014-11-06 09:32:40 -05:00
David Baumgold
58fd091823 Disable TODO comments in paver quality only 2014-11-06 09:32:40 -05:00
Ben Patterson
493672b173 Reduce complexity in run_quality. 2014-11-04 16:01:30 -05:00
Ben Patterson
9642468c98 Optimize run_quality calls
Leverages recent changes in diff-cover to reduce number of diff-quality runs
2014-10-27 07:06:58 -04:00
Ben Patterson
a8c0c2b71c paver run_quality should run both pep8 and pylint diffs with -p flag
TE-555
2014-10-24 08:46:00 -04:00
Ben Patterson
6bcaf61b0c Introduce new switch for paver run_quality command.
When using -p, the underlying diff-quality command will pass that
number as a value for --fail-under.

For example,
  paver run_quality -p 75

Will pass 75 into the --fail-under switch on diff-quality.

Also upgrades diff-cover in order to take advantage of this funcitonality.
2014-10-15 12:40:59 -04:00
Ben Patterson
1f196523f3 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)
2014-09-30 17:38:33 -04:00
Christine Lytwynec
2e2136d39c Deprecated unit tests from rake to paver 2014-06-06 15:35:32 -04:00
Christine Lytwynec
f9f6e09644 fix for pylint/pep8 defaults 2014-05-23 13:19:28 -04:00
Christine Lytwynec
550d054300 added and updated pavelib/quality.py from dglance branch, deprecated rake quality tasks 2014-05-23 13:19:27 -04:00
Jay Zoldak
4771242d57 Revert "added and updated pavelib/quality.py from dglance branch, deprecated rake quality tasks"
This reverts commit 7fd2305f39.
2014-05-23 08:40:43 -04:00
Christine Lytwynec
7fd2305f39 added and updated pavelib/quality.py from dglance branch, deprecated rake quality tasks 2014-05-20 16:22:28 -04:00