releases-comm-central/tools/lint/ruff.yml

18 строки
494 B
YAML

---
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