Sylvestre Ledru
ee69201894
Bug 1691352 - fix: mozlint/codespell: Improve the --fix display r=linter-reviewers,andi DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D104524
2021-02-09 13:45:46 +00:00
Akshat Dixit
ad11827401
Bug 1591991 Add lint Fixed count support to linters r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D102082
2021-02-08 19:00:10 +00:00
Sylvestre Ledru
9270e2e340
Bug 1690990 - lint: add some requirements.txt to the line check linter + fix them r=linter-reviewers,marco DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D104156
2021-02-05 17:19:40 +00:00
Sylvestre Ledru
8dc5a92f71
Bug 1679058 - codespell follow up - black compatible
...
Differential Revision: https://phabricator.services.mozilla.com/D99627
2020-12-13 19:57:04 +00:00
Sonia Singla
41dcd0f509
Bug 1679058 - Print Version of Codespell in logs. r=linter-reviewers,championshuttler,sylvestre DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D99619
2020-12-13 19:50:20 +00:00
Renovate Bot
4a5fc87a13
Bug 1679053 - Update dependency codespell to v2 r=linter-reviewers,championshuttler,marco DONTBUILD
...
PR can be found here:
https://github.com/sylvestre/gecko-dev/pull/309
Differential Revision: https://phabricator.services.mozilla.com/D97892
2020-11-23 20:19:36 +00:00
Ricky Stewart
7860c29e4c
Bug 1674923 - Pass down `virtualenv_manager` from `mach lint` down to linters r=ahal
...
Before, on Windows, this resulted in installing the package in the parent environment (not the `virtualenv`). We fix this by passing down the `virtualenv_manager` so linters can install packages they need using that object's helper methods.
Differential Revision: https://phabricator.services.mozilla.com/D95738
2020-11-06 20:51:16 +00:00
Sylvestre Ledru
0063306864
Bug 1661434
- Add tring to the codespell exclude list
...
In the doc, we have an example of a regex called
[s]tring
it is confusing for codespell
Differential Revision: https://phabricator.services.mozilla.com/D88806
2020-08-31 12:23:24 +00:00
Axel Hecht
595a699c3e
Bug 1649441, port ICU update docs into firefox-source-docs, r=jwalden
...
This is just a copy via pandoc, and some minor fixups. No actual
content changes, aside of linter fixes.
Differential Revision: https://phabricator.services.mozilla.com/D81703
2020-07-07 11:24:08 +00:00
Sylvestre Ledru
9b0a16fc65
Bug 1650834 - Make tools/lint code black compatible r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D82401
2020-07-09 14:09:31 +00:00
Mihai Alexandru Michis
3a33785d38
Backed out changeset 9b15a67a50c3 (bug 1650834) as requested by Sylvestre.
...
CLOSED TREE
2020-07-07 11:49:36 +03:00
Sylvestre Ledru
9c734f1175
Bug 1650834 - Make tools/lint code black compatible r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D82401
2020-07-07 08:09:31 +00:00
Razvan Maries
65bc3a986b
Backed out changeset 4911fdc92832 (bug 1650834) for Docker Images bustages. CLOSED TREE
2020-07-06 22:30:17 +03:00
Sylvestre Ledru
16145a8de0
Bug 1650834 - Make tools/lint code black compatible r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D82401
2020-07-06 18:11:28 +00:00
Sylvestre Ledru
2d448bf2fb
Bug 1640532 - Update codespell to 1.17.1 r=linter-reviewers,ahal
...
Depends on D76637
Differential Revision: https://phabricator.services.mozilla.com/D76638
2020-06-02 04:16:58 +00:00
Bogdan Tara
51e7c8bf84
Backed out changeset 20488827b581 (bug 1640532) for docker bustages complaining about codespell CLOSED TREE
2020-05-26 22:17:15 +03:00
Sylvestre Ledru
0c646a1f51
Bug 1640532 - Update codespell to 1.17.1 r=linter-reviewers,ahal
...
Depends on D76637
Differential Revision: https://phabricator.services.mozilla.com/D76638
2020-05-26 14:40:52 +00:00
Andrew Halberstadt
3315f2c93c
Bug 1623433 - [mozlint] Create a LintProcess utility class to consolidate some of our lint implementations, r=linter-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D67410
--HG--
extra : moz-landing-system : lando
2020-03-19 14:47:34 +00:00
Sylvestre Ledru
df4066dd02
Bug 1598971 - Enable codespell on more directories r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D54430
--HG--
extra : moz-landing-system : lando
2019-11-25 20:08:17 +00:00
Sylvestre Ledru
3f9407b612
Bug 1597065 - Fix the issue when -n is used with './mach lint -l codespell' r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D53323
--HG--
extra : moz-landing-system : lando
2019-11-18 14:28:29 +00:00
Ed Lee
6272276bf4
Bug 1585734 - [lint] Make sure codespell, rst and yaml run with virtualenv python r=ahal
...
Use mozfile.which to get the correct python for this environment.
Differential Revision: https://phabricator.services.mozilla.com/D48121
--HG--
extra : moz-landing-system : lando
2019-10-04 17:45:39 +00:00
Andrew Halberstadt
d3eae4b83c
Bug 1580280
- [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
...
Differential Revision: https://phabricator.services.mozilla.com/D45441
--HG--
extra : moz-landing-system : lando
2019-09-30 15:09:41 +00:00
Sylvestre Ledru
1b9161eb05
Bug 1579845 - ride along: codespell Add support of exclude: r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D45489
--HG--
extra : moz-landing-system : lando
2019-09-30 13:44:55 +00:00
Oana Pop Rus
4b9792db7c
Backed out changeset 371641b1010b (bug 1580280
) for lints failure on a CLOSED TREE
2019-09-26 00:18:33 +03:00
Andrew Halberstadt
fdc7d0afac
Bug 1580280
- [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
...
Differential Revision: https://phabricator.services.mozilla.com/D45441
--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:14 +00:00
Anmol Agarwal
d6766388f1
Bug 1554657 - Add a verbose mode to |mach lint| to display log output r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D43507
--HG--
extra : moz-landing-system : lando
2019-09-23 13:19:25 +00:00
Andrew Halberstadt
885bdd32e7
Bug 1580280
- [lint] Support Python 3 in other lint integrations r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D45440
--HG--
extra : moz-landing-system : lando
2019-09-18 21:11:02 +00:00
Sylvestre Ledru
d55c5ff35a
Bug 1581065 - Update to codespell 1.16 r=andi
...
Depends on D45818
Differential Revision: https://phabricator.services.mozilla.com/D45819
--HG--
extra : moz-landing-system : lando
2019-09-13 11:31:49 +00:00
Sylvestre Ledru
6963a42813
Bug 1579845 - ride along: Strip codespell results r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D45449
--HG--
extra : moz-landing-system : lando
2019-09-12 07:01:46 +00:00
Jared Wein
7ddc91c1db
Bug 1571567 - Enable the no-fallthrough eslint rule. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D40744
--HG--
extra : moz-landing-system : lando
2019-08-08 15:18:51 +00:00
Bogdan Tara
844afcfb06
Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
...
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein
1b77b801de
Bug 1571567 - Enable the no-fallthrough eslint rule. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D40744
--HG--
extra : moz-landing-system : lando
2019-08-08 12:45:00 +00:00
Andrew Halberstadt
3486ba642c
Bug 1563797 - Use 'backports.shutil_which' instead of 'which' across the tree r=Callek
...
Differential Revision: https://phabricator.services.mozilla.com/D37097
--HG--
extra : moz-landing-system : lando
2019-07-11 14:03:39 +00:00
Sylvestre Ledru
bbb9e0c803
Bug 1552560 - Update to codespell 1.15 and update the exclude list r=ahal
...
Depends on D31667
Differential Revision: https://phabricator.services.mozilla.com/D31668
--HG--
extra : moz-landing-system : lando
2019-05-21 13:32:00 +00:00
Chris H-C
1e8280c2f0
Bug 1536805 - Tell codespell 'whats' is a valid word r=ahal
...
Depends on D24263
Differential Revision: https://phabricator.services.mozilla.com/D24543
--HG--
extra : moz-landing-system : lando
2019-03-22 19:32:59 +00:00
Sylvestre Ledru
b6356f4723
Bug 1523092 - Enable codespell on more directories r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D17740
--HG--
extra : moz-landing-system : lando
2019-01-30 14:16:08 +00:00
Sylvestre Ledru
bd3ca3e532
Bug 1496903 - Update codespell to 1.14 r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D7958
--HG--
extra : moz-landing-system : lando
2018-10-09 14:31:05 +00:00
Andrew Halberstadt
7a77f7f879
Bug 1485454 - [lint] Use absolute paths with the codespell linter, r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D4012
--HG--
extra : moz-landing-system : lando
2018-08-29 13:36:46 +00:00
Andrew Halberstadt
2d61b7becb
Bug 1460856 - [mozlint] Stop using warnings in all current linters r=Standard8
...
Soon, warnings will be suppressed by default and won't causes a failure.
Therefore to prevent loss of coverage, we need to make sure that any
lint warning that causes a failure today, needs to be converted to an
error so it keeps failing tomorrow.
Depends on D3819
Differential Revision: https://phabricator.services.mozilla.com/D3820
--HG--
extra : moz-landing-system : lando
2018-08-28 19:24:55 +00:00
Sylvestre Ledru
b629f23fc9
Bug 1462405
- Update codespell to 1.13 r=ahal
...
MozReview-Commit-ID: 7vRJAq0mOHm
--HG--
extra : rebase_source : 9ba6e5ae9e46c63cb60b65352d1b2f94b31fa137
2018-05-17 18:59:10 +02:00
Noemi Erli
5c958b4444
Backed out changeset 89ead7c6e907 (bug 1462405
) for Linting failure on a CLOSED TREE
2018-05-19 11:11:25 +03:00
Sylvestre Ledru
97d3d22a5e
Bug 1462405
- Update codespell to 1.13 r=ahal
...
MozReview-Commit-ID: 7vRJAq0mOHm
--HG--
extra : rebase_source : 6a7e820ff0399b45b82702f08ec8cbfb38d132c4
2018-05-17 18:59:10 +02:00
Sylvestre Ledru
1166e955d4
Bug 1449035 - Codespell: move to quiet-level=7 to also ignore the binary r=ahal
...
MozReview-Commit-ID: 9ldfPPRqiSu
--HG--
extra : rebase_source : 3830f48f954c1ef8b5d858644177c8beaedb0e50
2018-05-12 12:03:11 +02:00
Sylvestre Ledru
f4460e12bd
Bug 1460402 - Update the codespell support to use pip instead of the package r=ahal
...
MozReview-Commit-ID: J4wS7s9sWFe
--HG--
extra : rebase_source : 040904aa56cb88292829c110cd6040616a99f04b
2018-05-09 21:56:43 +02:00
Dorel Luca
a5bc0b3f70
Backed out 4 changesets (bug 1460402) for lint failure on intl/locales/en-US/hyphenation/hyph_en_US.dic. CLOSED TREE
...
Backed out changeset c2e8fbd72ca6 (bug 1460402)
Backed out changeset 3676e913dbff (bug 1460402)
Backed out changeset bb12ffd4b96e (bug 1460402)
Backed out changeset 3e50885329c4 (bug 1460402)
2018-05-11 00:47:34 +03:00
Sylvestre Ledru
4631824f9c
Bug 1460402 - Update the codespell support to use pip instead of the package r=ahal
...
MozReview-Commit-ID: J4wS7s9sWFe
--HG--
extra : rebase_source : 4666a3e5bab6ee5ca95fcc31da4ef625e46e2d59
2018-05-09 21:56:43 +02:00
Dorel Luca
74bbb3c1eb
Backed out 4 changesets (bug 1460402) for breaking taskcluster images. CLOSED TREE
...
Backed out changeset 5b40f3f18f42 (bug 1460402)
Backed out changeset 17526c61b995 (bug 1460402)
Backed out changeset e1caff997e5a (bug 1460402)
Backed out changeset 06ceda084d69 (bug 1460402)
2018-05-10 23:54:38 +03:00
Sylvestre Ledru
b86503f980
Bug 1460402 - Update the codespell support to use pip instead of the package r=ahal
...
MozReview-Commit-ID: J4wS7s9sWFe
--HG--
extra : rebase_source : 4666a3e5bab6ee5ca95fcc31da4ef625e46e2d59
2018-05-09 21:56:43 +02:00
Sylvestre Ledru
c2dfd17d46
Bug 1448934 - Add wasn to the ignore list until the upstream issue is fixed r=flod
...
MozReview-Commit-ID: IHi0Bag9FtH
--HG--
extra : rebase_source : 521d57e25e6144129b8e12ea99be860fcc3dc4e9
2018-04-24 10:49:29 +02:00
Sylvestre Ledru
fd4c215a63
Bug 1455451 - Codespell: enable the autofix (with --fix) r=ahal
...
MozReview-Commit-ID: FkWHbqvkkZV
--HG--
extra : rebase_source : 036d749eff34137d1f95183cb0b6abda139174b4
2018-04-19 23:41:57 +02:00