./mach lint -l codespell -n is failing
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Tracking
(firefox72 fixed)
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)
Assignee | ||
Comment 1•5 years ago
|
||
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
Comment 3•5 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•