Closed Bug 1691352 Opened 4 years ago Closed 4 years ago

mozlint/codespell: Fix --fix

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

Details

Attachments

(1 file)

Testing bug 1591991, I noticed that --fix doesn't work for codespell.

./mach lint -l codespell --fix  -n dom/presentation/                                                            
WARNING: You are using pip version 20.3.3; however, version 21.0.1 is available.
You should consider upgrading via the '/home/sylvestre/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python -m pip install --upgrade pip' command.
Unable to match regex against output: usage: codespell [-h] [--version] [-d] [-c] [-w] [-D DICTIONARY]
Unable to match regex against output:                  [--builtin BUILTIN-LIST] [--ignore-regex IGNORE_REGEX]
Unable to match regex against output:                  [-I FILE] [-L WORDS] [-r REGEX] [-s] [--count] [-S SKIP]
Unable to match regex against output:                  [-x FILE] [-i INTERACTIVE] [-q QUIET_LEVEL] [-e] [-f] [-H]
Unable to match regex against output:                  [-A LINES] [-B LINES] [-C LINES] [--config CONFIG]
Unable to match regex against output:                  [files ...]
Unable to match regex against output: codespell: error: unrecognized arguments: /home/sylvestre/dev/mozilla/mozilla-central.hg/dom/presentation
✖ 0 problems (0 errors, 0 warnings)
Assignee: nobody → sledru
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/80f0fcee6edc fix: mozlint/codespell: Improve the --fix display r=linter-reviewers,andi DONTBUILD
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: