Commit Graph

92 Commits

Author SHA1 Message Date
Ben Patterson
9d4d445d2b upping eslint violation count since a merged commit didn't know about it. 2017-03-21 19:27:02 -04:00
Brian Jacobel
d41076cb1d Upgrade eslint packages 2017-03-20 15:46:39 -04:00
Eric Fischer
518be32c22 Bump pylint threshold back up 2016-10-25 13:51:17 -04:00
Jesse Zoldak
6afe026a4c Adjust lint thresholds 2016-10-19 11:11:42 -04:00
Brian Jacobel
cc857c6b32 Lower ESLint thresholds post-autofix 2016-08-09 12:24:22 -04:00
Brian Jacobel
a32fd27d60 Replace JSHint ignore directives with ESLint ones 2016-08-04 16:22:59 -04:00
Ned Batchelder
b4e2af3aae Lower the pylint threshold 2016-08-03 12:45:24 -04:00
Brian Jacobel
017dbffd5e Remove ESLint from build scripts and script tests 2016-08-02 10:15:53 -04:00
Brian Jacobel
af76273393 Install and configure eslint and eslint-config-edx (alongside JSHint for now) 2016-07-29 13:27:55 -04:00
Robert Raposa
143a22fb9f Enhance Jenkins integration of safe templates take 2
- Handle case when no files are linted
- Skip deleted files for safe commit script
- Add verbose options for safe commit
2016-05-13 09:59:23 -04:00
Robert Raposa
5ea529ae39 Revert: Enhance Jenkins integration of safe template linting 2016-05-11 09:56:23 -04:00
Robert Raposa
afdec6a99b Enhance Jenkins integration of safe template linting
- Add rule based thresholds
- Add safecommit to Jenkins
2016-05-10 15:50:45 -04:00
Jesse Zoldak
d7e9db66c9 Lower the jshint threshold to 7550 2016-05-06 09:56:23 -04:00
Robert Raposa
374dcb3264 Add Python linting 2016-04-27 17:40:30 -04:00
Robert Raposa
ec442789c0 Add Jenkins support for Safe Templates Linter 2016-04-26 12:36:25 -04:00
Ned Batchelder
fac216c35b Lower the overall pylint count to 4175 2016-04-08 12:05:38 -04:00
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