Commit Graph

76 Commits

Author SHA1 Message Date
Ned Batchelder
756941524c Update to latest edx-lint 2015-12-18 20:56:07 -05:00
Sarina Canelake
96ddf544ff Remove Pylint violations 2015-12-17 16:29:28 -05:00
Ned Batchelder
0632240331 Pylint count is below 5000 2015-12-14 09:18:29 -05:00
Sarina Canelake
edf6730ca0 Pylint fixes to symmath module 2015-12-08 22:56:28 -05:00
Ned Batchelder
0872732cf0 Fix pylint C7630 (literal used as attribute) violations
There's no need to use a string literal in setattr, delattr, or the
two-argument form of getattr.
2015-11-23 15:32:54 -05:00
Chris Rodriguez
d1efc3fed1 Updating JSHint threshold 2015-11-19 14:58:05 -05:00
Christine Lytwynec
9aa1f2b73f use .jshintignore instead of hardcoded directory list 2015-11-13 16:19:02 -05:00
Ned Batchelder
1f093eccfb Use 0.3.2 of edx-lint, with pylint-django and C extensions read 2015-11-03 16:22:40 -05:00
Ned Batchelder
f47a53eb66 Update edx-lint to 0.2.6
This gets us checking for tests inheriting from other tests.  When that
happens, tests get run more than once, which is pointless.  We have a
few dozen new warnings due to this new check.

This also disables unused-wildcard-import.  That removes a few hundred
warnings.

Together, this means we can reduce the pylint limit to 5999. :)
2015-09-03 18:22:21 -04:00
Ned Batchelder
ff67dff633 Since the path import changes solved pylint issues, decrease the limit. 2015-08-27 13:39:14 -04:00
Ned Batchelder
36a7d1223e Use latest edx-lint. Adds getattr/setattr string literal checking.
There are 80 of these new violations in the tree, so up the lint
threshold also.
2015-08-20 11:45:44 -04:00
Jesse Zoldak
8672455fda Get circleci configuration working for forks 2015-08-05 13:25:30 -04:00
Ned Batchelder
52acdae60c Update pylint and astroid, reduces pylint count by 400 2015-08-03 11:49:54 -04:00
Christine Lytwynec
bb3a281a2b generate diff-coverage report in JS jenkins build 2015-07-30 10:07:00 -04:00
Ben Patterson
c9cf8b6306 Post complexity metric to a file for downstream collection.
This complexity metric is created by using radon (see changed files for additional
documentation links). This tool calculates cyclomatic complexity and provides a numeric grade
where a lower number is better (e.g., less complex).
2015-07-23 15:36:36 -04:00
Sarina Canelake
647bc967c0 Set new Pylint threshold 2015-07-13 17:33:28 -04:00
Jesse Zoldak
7a852b0b1c Lower pylint threshold to 7000! 2015-07-02 09:04:28 -04:00
Christine Lytwynec
7f9bec933c split common/lib and js unit tests into separate shards 2015-06-24 11:40:39 -04:00
Jesse Zoldak
483f2e45dd Lower pylint threshold to 7100 2015-06-17 11:32:32 -04:00
Ben Patterson
aebb35d361 Use jshint in paver, include in builds.
JShint will be executed with paver run_jshint, which will use a defined set of
directories (likewise defined are directories to ignore). A limit can be imposed
on the total number of violations. Note that this change does NOT include adding
jshint to diff-quality or `paver run_quality`.
2015-05-22 16:06:13 -04:00
Christine Lytwynec
4aceb0259b add more detailed comment about exit status 2015-05-15 11:09:55 -04:00
Christine Lytwynec
aee3281d4d clean up all-tests.sh script 2015-05-14 11:20:21 -04:00
Christine Lytwynec
5b8482f345 add exit status back 2015-05-13 14:27:23 -04:00
Christine Lytwynec
8d0683e21c leave old "unit" test case for now 2015-05-07 09:17:27 -04:00
Christine Lytwynec
0874d5943d update all-tests.sh to run cms unit tests as separate shard 2015-05-07 09:17:26 -04:00
Christine Lytwynec
ddb1ae667e Split lms unittests into multiple shards 2015-05-07 09:17:26 -04:00
Christine Lytwynec
2817ce1473 Merge pull request #7913 from edx/clytwynec/unique-dirs-for-test-results
Clytwynec/unique dirs for test results
2015-05-06 14:24:21 -04:00
Christine Lytwynec
41a9e027f0 Revert "Revert "Clytwynec/unique dirs for test results""
This reverts commit 52c4aacad5.
2015-05-04 15:26:11 -04:00
Ned Batchelder
24e0c2c80f Run pylint on all our code, and only our code. TE-855
With the old logic, we weren't running pylint on openedx at all.  We
were also running it on lms/lib/comment_client twice, and on the
installed xblock third-party library.
2015-05-04 15:23:55 -04:00
Christine Lytwynec
52c4aacad5 Revert "Clytwynec/unique dirs for test results" 2015-05-04 10:58:25 -04:00
Christine Lytwynec
4f5aeb3f49 Merge pull request #7709 from edx/clytwynec/unique-dirs-for-test-results
Clytwynec/unique dirs for test results
2015-05-04 08:55:38 -04:00
Ben Patterson
8cd5f42ca9 Merge pull request #7850 from edx/benp/bok-choy-shard-5
Add bok-choy shards 4 and 5. New default is 'shard 6'
2015-05-01 09:26:32 -04:00
Ben Patterson
5f0cd587fd Add bok-choy shards 4 and 5. When no shard is specified on a test, it
will fall in 'shard 6'
2015-04-30 17:34:24 -04:00
Ned Batchelder
3417672d56 Have to increase the pylint limit now that we examine more files 2015-04-30 09:58:40 -04:00
Christine Lytwynec
9b8062020b set unique dirs for test reports 2015-04-28 14:59:35 -04:00
Ned Batchelder
5a414914e4 Lower the pylint threshold 2015-03-20 15:49:47 -04:00
stv
4e2927f146 Lower Pylint threshold to 5800 violations 2015-03-14 13:35:21 -07:00
Ben Patterson
177035b1d2 Adding hints for otherwise quiet quality shard steps. 2015-03-10 16:33:10 -04:00
Ben Patterson
1d00508671 Merge pull request #7147 from edx/benp/static-code-analysis-radon
Benp/static code analysis radon
2015-03-05 06:48:25 -05:00
Christine Lytwynec
7676693f4d Merge pull request #7188 from edx/clytwynec/TE-769
fix bok-choy reporting on failure
2015-03-04 10:30:07 -05:00
Christine Lytwynec
6c93997962 fix bok-choy reporting on failure 2015-03-03 08:52:15 -05:00
Ben Patterson
eb4f852916 Pipe complexity report to reports dir. 2015-03-02 16:03:31 -05:00
Ben Patterson
ff2dd93405 Simplify reporting and execution of pep8.
We are not using the limit flag in the actual run_pep8 method; removing
that from scripts. Operationally, pep8 has been enforcing a limit of
zero for awhile; this finishes that realization.

Also, all pep8 reports now appear under the reports/pep8 folder, rather than
per-system.
2015-03-02 13:21:35 -05:00
Ben Patterson
471bd2c0a8 Enable code complexity reporting. 2015-02-27 07:02:04 -05:00
Christine Lytwynec
35b6e15d9f add --with-flaky in jenkins script 2015-02-24 17:33:38 -05:00
David Baumgold
a1fc25b848 Pylint violations are below 6000 2015-02-24 13:14:55 -05:00
Sarina Canelake
6900bd27fe Merge pull request #7013 from stvstnfrd/pylint/low
Fix Pylint violations (easy)
2015-02-20 16:36:52 -05:00
Christine Lytwynec
171ba487b9 skip paver bokchoy_coverage in jenkins 2015-02-20 11:54:29 -05:00
stv
99008147ab Lower Pylint threshold by 200 violations 2015-02-19 19:56:52 -08:00
Christine Lytwynec
f3327762f7 include jeknins report job as script 2015-02-06 13:41:15 -05:00