summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/ruff.yml
blob: 1b7eb8a56b0b5be7a2103bb02b6e995d09e0d2dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
ruff:
    description: An extremely fast Python linter, written in Rust
    include: ["."]
    extensions: ["py"]
    support-files:
        - "comm/**/.ruff.toml"
        - "comm/**/ruff.toml"
        - "comm/**/pyproject.toml"
        - "tools/lint/python/ruff.py"
    # Rules that should result in warnings rather than errors.
    warning-rules: [PLR, PLW]
    commroot: true
    type: external
    payload: commlint:lint_wrapper
    wraps: python.ruff:lint
    setup: python.ruff:setup