Add unit tests for the various mozlint rules that we have
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox71 affected)
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | affected |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
(Depends on 1 open bug)
Details
Attachments
(8 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
Comment 1•7 years ago
|
||
Note, I'm in the process of converting mozlint to Python 3. So it might help to either:
A) Block on that to avoid extra conversion work (bug 1567642)
B) Make sure the tests are Python 3 compatible (you won't be able to test this unfortunately until the above lands)
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Depends on D45444
| Assignee | ||
Comment 4•7 years ago
|
||
Depends on D45445
| Assignee | ||
Comment 5•7 years ago
|
||
Depends on D45446
| Assignee | ||
Comment 6•7 years ago
|
||
Depends on D45447
| Assignee | ||
Comment 7•7 years ago
|
||
ML now means Machine Learning for most people, we should be more explicit for new comers
Depends on D45449
| Assignee | ||
Comment 8•7 years ago
|
||
Depends on D45449
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/18f2c53f2f71
https://hg.mozilla.org/mozilla-central/rev/8b1d6ad6acdc
https://hg.mozilla.org/mozilla-central/rev/9c621b8602f1
https://hg.mozilla.org/mozilla-central/rev/e864f41e1829
https://hg.mozilla.org/mozilla-central/rev/b4a2b9704d61
| Assignee | ||
Comment 13•7 years ago
|
||
Other things are coming
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Backed out changeset f698c4b34515 (bug 1579845) for causing lint failure on foobar.js CLOSED TREE
Backout revision https://hg.mozilla.org/integration/autoland/rev/9e69eb28064b15f75150f941fa37c5e802398402
Failure log https://treeherder.mozilla.org/logviewer.html#?job_id=266868388&repo=autoland
Sylvestre can you please take a look?
Comment 17•7 years ago
|
||
Comment 19•7 years ago
•
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=266885927&repo=autoland&lineNumber=227
Backout link: https://hg.mozilla.org/integration/autoland/rev/b47e17be584471f8033ca63aaff59efd3fc371ef
[task 2019-09-16T16:43:05.048Z] copying build/lib.linux-x86_64-2.7/psutil/_psutil_posix.so -> psutil
[task 2019-09-16T16:43:05.048Z]
[task 2019-09-16T16:43:05.048Z] Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
[task 2019-09-16T16:52:01.287Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/python/mozlint/test/files/foobar.js:0 | No matching license strings found in tools/lint/license/valid-licenses.txt (license)
[task 2019-09-16T16:52:01.287Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/python/mozlint/test/files/foobar.py:0 | No matching license strings found in tools/lint/license/valid-licenses.txt (license)
[task 2019-09-16T16:52:01.287Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/python/mozlint/test/files/no_foobar.js:0 | No matching license strings found in tools/lint/license/valid-licenses.txt (license)
[taskcluster 2019-09-16 16:52:01.647Z] === Task Finished ===
[taskcluster 2019-09-16 16:52:02.376Z] Unsuccessful task run with exit code: 1 completed in 789.243 seconds
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 23•7 years ago
|
||
Comment #19 fixed!
codespell, yaml, shellcheck, lintpref are missing.
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
| bugherder | ||
Comment 26•6 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:Sylvestre, maybe it's time to close this bug?
| Assignee | ||
Comment 27•6 years ago
|
||
Yeah, we are probably good, closing.
Updated•6 years ago
|
Updated•4 years ago
|
Description
•