fune/tools/lint
Andrew Halberstadt 8a4d48a70d Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre
Ruff is a very fast linter implemented in Rust and it can act as a drop-in
replacement for flake8. When running the same set of rules across all files
in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff
takes 0.9 seconds.

Ruff also implements rules from other popular Python linters such as pylint,
isort and pyupgrade. There are even plans to implement feature parity with
black in the future. Ultimately, it can become our one stop shop for all Python
linting and formatting.

This stack will swap out all our Python lint tools for ruff (excluding black
for now).

Differential Revision: https://phabricator.services.mozilla.com/D172313
2023-03-17 01:53:58 +00:00
..
android
clang-format
clippy
cpp
eslint Bug 1531812: Remove remaining mozRTC stuff. r=jib,webidl,smaug 2023-03-14 13:27:15 +00:00
file-perm
file-whitespace
fluent-lint Bug 1822388 - Move brandings.ftl from browser to toolkit, r=eemeli,settings-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sgalich,Mardak 2023-03-15 17:00:48 +00:00
libpref
license
perfdocs Bug 1749473 - Remove warnings from the generated talos.rst file r=perftest-reviewers,sparky DONTBUILD 2023-02-21 14:47:07 +00:00
python Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-17 01:53:58 +00:00
rst Bug 1821278 - fix InstallPipRequirementsException between lint and python-test r=linter-reviewers,sylvestre DONTBUILD 2023-03-13 10:52:35 +00:00
rust
shell
spell
test Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-17 01:53:58 +00:00
test-manifest-alpha Bug 1819736 - Make test-manifest-alpha more helpful in its feedback. r=ahal 2023-03-03 15:28:06 +00:00
tox
trojan-source
updatebot
wpt
yamllint_
android-api-lint.yml
android-checkstyle.yml
android-format.yml
android-javadoc.yml
android-lint.yml
android-test.yml
black.yml
clang-format.yml
clippy.yml
codespell.yml
eslint.yml
file-perm.yml
file-whitespace.yml Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-17 01:53:58 +00:00
fluent-lint.yml
hooks.py
hooks_clang_format.py
hooks_js_format.py
isort.yml
l10n.yml
license.yml
lintpref.yml
mach_commands.py
mingw-capitalization.yml
mscom-init.yml
perfdocs.yml
pylint.yml
rejected-words.yml Bug 1822556 - Convert toolkit/actors to ES Modules. r=mossop 2023-03-16 12:50:27 +00:00
rst.yml
ruff.yml Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-17 01:53:58 +00:00
rustfmt.yml
shellcheck.yml
test-manifest-alpha.yml Bug 1816563 - Make it possible to supply a list of manifest files that will error on failing the test-manifest-alpha check. r=ahal 2023-02-14 21:58:45 +00:00
test-manifest-disable.yml
test-manifest-skip-if.yml
trojan-source.yml
updatebot.yml
wpt.yml
yaml.yml