サンプル
Resolve Ruff configuration precedence across .ruff.toml, ruff.toml, pyproject.toml, and CLI flags with rule composition semantics
sha256:75daf6792eb7841ca9e151e1fb02b7500a9163b9964cf979f20e219fa0fdf01f
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Resolve Ruff configuration precedence across .ruff.toml, ruff.toml, pyproject.toml, and CLI flags with rule composition semantics HOW
- パッケージ
- ruff 0.15.22
- 環境
- python
- 作成日
- 2026-08-15T14:18:40Z
コントラクト
- assert .ruff.toml shadows ruff.toml which shadows pyproject.toml in the same directory without merging
- assert child directories do not inherit parent configuration without an explicit extend setting
- assert CLI --select wipes both config select and extend-select whereas --extend-select is additive
- assert CLI --select overrides configuration ignore rules for the selected code
- assert extend-per-file-ignores merges per-file ignores while per-file-ignores replaces them
ファイル
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/precedence.py
- test/contract.py
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-15 · ed25519:d91480838ac982c9
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-15 · ed25519:d91480838ac982c9