mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
use ruff rather than flake8 for python code linting (#37045)
The initially used config is compatible with flake8 rules, including all pycodestyle (pep8) and pyflakes rules. Testing: Broke some python files and used `mach test-tidy --all` to test the linting. Fixes: servo/servo#37041 Signed-off-by: zefr0x <zer0-x.7ty50@aleeas.com>
This commit is contained in:
parent
88fd2e43c8
commit
60eb7c923d
8 changed files with 46 additions and 40 deletions
4
.vscode/extensions.json
vendored
4
.vscode/extensions.json
vendored
|
@ -16,6 +16,8 @@
|
|||
// IDL language support
|
||||
"mythmon.idl",
|
||||
// TOML files
|
||||
"tamasfe.even-better-toml"
|
||||
"tamasfe.even-better-toml",
|
||||
// Python files
|
||||
"charliermarsh.ruff"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue