Closed Bug 1597065 Opened 5 years ago Closed 5 years ago

./mach lint -l codespell -n is failing

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

defect
Not set
normal

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

Details

Attachments

(1 file)

% ./mach lint -l codespell -n
Traceback (most recent call last):
File "/home/sylvestre/dev/mozilla/mozilla-central.hg/python/mozlint/mozlint/roller.py", line 55, in _run_worker
res = func(paths, config, **lintargs) or []
File "/home/sylvestre/dev/mozilla/mozilla-central.hg/python/mozlint/mozlint/types.py", line 54, in call
return self._lint(paths, config, **lintargs)
File "/home/sylvestre/dev/mozilla/mozilla-central.hg/python/mozlint/mozlint/types.py", line 139, in _lint
return func(files, config, **lintargs)
File "/home/sylvestre/dev/mozilla/mozilla-central.hg/tools/lint/spell/init.py", line 114, in lint
skip_files = '--skip=*.dic,{}'.format(','.join(config['exclude']))
KeyError: 'exclude'
A failure occurred in the codespell linter.
✖ 1 problem (0 errors, 0 warnings, 1 failure)

Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4f23424e89d5
Fix the issue when -n is used with './mach lint -l codespell' r=ahal
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
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: