A flag before a path hides the path from the reach check
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 72/100
Rechercherichtung
Start with _given, _read_paths and _missed in facts/tools.py, then inspect how commands are represented in policy/inert_commands.toml. Reproduce the listed commands and their plain forms with small fixtures. Done means each flagged command is treated as a no run with the path named in the reason, while plain forms still behave as before.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
#499 made a run on a path that doesn't exist, /dev/null or a folder with no files of the unit's languages earn nothing. That works only when the path comes right after the tool. _given and _read_paths in facts/tools.py take the word after any bare option as that option's value, so a flag in front of the path hides it. All of these are still credited:
shfmt -d /dev/null,shellcheck -x /dev/nullfprettify --diff empty/ruff check --fix nothing/,mypy --strict nothing/pytest --cov-branch gone/
Expected
- A per-tool table in
policy/inert_commands.tomlof the options that take a value. Every other option is a flag, so the next word is a path. _given,_read_pathsand_misseduse the table.
Done when
Each command above is no run, with the path named in the reason, and the plain forms still behave as today.
Split from #476. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.
🤖 Generated with Claude Code
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 1
- Ø Merge
- 6 Std. 31 Min.
- Gemergte PRs (30 T.)
- 238
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus cpp-best-practices/project_validator
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
cpp-best-practices/project_validator#609 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
cpp-best-practices/project_validator#449 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
cpp-best-practices/project_validator#622 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
cpp-best-practices/project_validator#621 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
cpp-best-practices/project_validator#619 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in cpp-best-practices/project_validator
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
fossasia/eventyay-exhibition#465 · 3 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/webapp comp/desktop P2 type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
NousResearch/hermes-agent#163341 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
smart-village-solutions/smart-speech-flow#765 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bot-triaged module: bfloat16 module: cuda module: half module: numerical-stability triage review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Maintainer antworten meist innerhalb von 1 Tag