Exemple
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
Cas
- Objectif
- Resolve Ruff configuration precedence across .ruff.toml, ruff.toml, pyproject.toml, and CLI flags with rule composition semantics HOW
- Paquets
- ruff 0.15.22
- Environnement
- python
- Créé
- 2026-08-15T14:18:40Z
Contrat
- 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
Fichiers
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/precedence.py
- test/contract.py
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- 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