A flag before a path hides the path from the reach check
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 4
- フォーク
- 1
- 平均マージ
- 6時間 31分
- マージ済み PR(30日)
- 238
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cpp-best-practices/project_validator のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cpp-best-practices/project_validator#609 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
cpp-best-practices/project_validator#449 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
cpp-best-practices/project_validator#622 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
cpp-best-practices/project_validator#621 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
cpp-best-practices/project_validator#619 ·
メンテナーはふだん 1 日以内に返信
cpp-best-practices/project_validator の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fossasia/eventyay-exhibition#465 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area/webapp comp/desktop P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#163341 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
smart-village-solutions/smart-speech-flow#765 ·
メンテナーはふだん 1 日以内に返信
-
bot-triaged module: bfloat16 module: cuda module: half module: numerical-stability triage review
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信