Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / tools / lint / ruff.yml
blobe03dcc2b55cfc4d2861422c27c7971b211962d50
1 ---
2 ruff:
3     description: An extremely fast Python linter, written in Rust
4     # Excludes should be added to topsrcdir/pyproject.toml
5     exclude: []
6     # The configure option is used by the build system
7     extensions: ["configure", "py"]
8     support-files:
9         - "**/.ruff.toml"
10         - "**/ruff.toml"
11         - "**/pyproject.toml"
12         - "tools/lint/python/ruff.py"
13     # Rules that should result in warnings rather than errors.
14     warning-rules: [PLR, PLW]
15     type: external
16     payload: python.ruff:lint