-
- Downloads
Bug 1811850 - [lint] Replace isort linter with ruff,...
Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau This results in some changes from our current `isort` configuration. I'm unclear if it's because ruff isn't at 100% parity with isort, they choose different defaults or if I missed some configuration. Either way, the changes all look reasonable to me (see child commit), so I'm inclined to just accept the new import format it imposes. Differential Revision: https://phabricator.services.mozilla.com/D172348
Showing
- .isort.cfg 0 additions, 2 deletions.isort.cfg
- pyproject.toml 1 addition, 0 deletionspyproject.toml
- python/lldbutils/.isort.cfg 0 additions, 3 deletionspython/lldbutils/.isort.cfg
- python/lldbutils/.ruff.toml 4 additions, 0 deletionspython/lldbutils/.ruff.toml
- python/mach/.isort.cfg 0 additions, 3 deletionspython/mach/.isort.cfg
- python/mach/.ruff.toml 4 additions, 0 deletionspython/mach/.ruff.toml
- python/mach/mach/commands/settings.py 1 addition, 0 deletionspython/mach/mach/commands/settings.py
- python/mozboot/.isort.cfg 0 additions, 3 deletionspython/mozboot/.isort.cfg
- python/mozboot/.ruff.toml 4 additions, 0 deletionspython/mozboot/.ruff.toml
- python/mozbuild/.isort.cfg 0 additions, 3 deletionspython/mozbuild/.isort.cfg
- python/mozbuild/.ruff.toml 8 additions, 0 deletionspython/mozbuild/.ruff.toml
- python/mozlint/.isort.cfg 0 additions, 3 deletionspython/mozlint/.isort.cfg
- python/mozlint/.ruff.toml 4 additions, 0 deletionspython/mozlint/.ruff.toml
- python/mozperftest/.isort.cfg 0 additions, 3 deletionspython/mozperftest/.isort.cfg
- python/mozperftest/.ruff.toml 4 additions, 0 deletionspython/mozperftest/.ruff.toml
- python/mozrelease/.isort.cfg 0 additions, 3 deletionspython/mozrelease/.isort.cfg
- python/mozrelease/.ruff.toml 4 additions, 0 deletionspython/mozrelease/.ruff.toml
- python/mozterm/.isort.cfg 0 additions, 3 deletionspython/mozterm/.isort.cfg
- python/mozterm/.ruff.toml 4 additions, 0 deletionspython/mozterm/.ruff.toml
- python/mozversioncontrol/.isort.cfg 0 additions, 3 deletionspython/mozversioncontrol/.isort.cfg
.isort.cfg
deleted
100644 → 0
python/lldbutils/.isort.cfg
deleted
100644 → 0
python/lldbutils/.ruff.toml
0 → 100644
python/mach/.isort.cfg
deleted
100644 → 0
python/mach/.ruff.toml
0 → 100644
python/mozboot/.isort.cfg
deleted
100644 → 0
python/mozboot/.ruff.toml
0 → 100644
python/mozbuild/.isort.cfg
deleted
100644 → 0
python/mozbuild/.ruff.toml
0 → 100644
python/mozlint/.isort.cfg
deleted
100644 → 0
python/mozlint/.ruff.toml
0 → 100644
python/mozperftest/.isort.cfg
deleted
100644 → 0
python/mozperftest/.ruff.toml
0 → 100644
python/mozrelease/.isort.cfg
deleted
100644 → 0
python/mozrelease/.ruff.toml
0 → 100644
python/mozterm/.isort.cfg
deleted
100644 → 0
python/mozterm/.ruff.toml
0 → 100644
python/mozversioncontrol/.isort.cfg
deleted
100644 → 0
Please register or sign in to comment