gecko-dev/tools/lint/spell
Andrew Halberstadt 4dd650366c Bug 1736559 - [lint] Fix codespell silently fixing files, r=linter-reviewers,sylvestre
We have a check in the 'CodespellProcess' class to ignore errors that are
fixing single letter camelCase errors (since these tend to be used frequently.

Unfortunately, when using '--fix', these errors are fixed regardless as the
fixing happens with the codespell process. Since we increment the 'fix'
variable after the check happens, we don't even report that anything was
'fixed'.

Ideally we would find a way to prevent these types of errors from being fixed,
but for now this at will at least ensure that the user is notified that
something was modified.

Differential Revision: https://phabricator.services.mozilla.com/D128885
2021-10-19 19:11:09 +00:00
..
__init__.py Bug 1736559 - [lint] Fix codespell silently fixing files, r=linter-reviewers,sylvestre 2021-10-19 19:11:09 +00:00
codespell_requirements.in Bug 1717447 - mozlint/spell: update to version 2.1.0 r=linter-reviewers,marco DONTBUILD 2021-06-21 15:29:11 +00:00
codespell_requirements.txt Bug 1717447 - mozlint/spell: update to version 2.1.0 r=linter-reviewers,marco DONTBUILD 2021-06-21 15:29:11 +00:00
exclude-list.txt