fune/tools/lint/python
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
..
__init__.py
black.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
black_requirements.in
black_requirements.txt
isort.py Bug 1806174: Fix R1705 lint for tools/lint/python/isort.py:33 r=linter-reviewers,sylvestre 2022-12-16 22:33:15 +00:00
isort_requirements.in
isort_requirements.txt
l10n_lint.py Bug 1806157 - Allow l10n linter to use a repository other than "gecko-strings". r=linter-reviewers,ahal 2022-12-22 22:17:32 +00:00
pylint.py
pylint_requirements.in Bug 1806109 - Update to pylint v2.15.8 r=linter-reviewers,marco DONTBUILD 2022-12-16 17:25:54 +00:00
pylint_requirements.txt Bug 1806109 - Update to pylint v2.15.8 r=linter-reviewers,marco DONTBUILD 2022-12-16 17:25:54 +00:00
ruff.py Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-17 01:53:58 +00:00
ruff_requirements.in Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-17 01:53:58 +00:00
ruff_requirements.txt Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-17 01:53:58 +00:00