pytest 9: read `pytest.toml` and the native `[tool.pytest]` table
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 62/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python, typescript
調査の方向性
Start with src/git/git-diff.ts and the existing pytest configuration parsing and tests; the issue depends on #159, so read that first. Add fixtures and tests for pytest.toml, .pytest.toml, [tool.pytest], and precedence, checking how pytest handles both TOML tables. Update PROJECT_FILES and the Python entries in CONFIG_PATTERNS; run npm test and confirm configuration changes fall back with a named reason.
索引モデルが issue の本文から書いたものです。
説明
Depends on #159.
pytest 9.0 added two ways to configure it. First, pytest.toml and the hidden .pytest.toml, which come before pytest.ini and match even when empty. Second, a native [tool.pytest] table in pyproject.toml that uses real TOML types. DiffCI reads neither. A pyproject.toml with [tool.pytest] and python_files = ["check_*.py"] gives the defaults today.
Done when:
pytest.tomland.pytest.tomlare first in the search order. Their settings are under a[pytest]table.[tool.pytest]inpyproject.tomlis read like[tool.pytest.ini_options], after #158's list parsing. Take care that the[tool.pytest]pattern doesn't also match[tool.pytest.ini_options]or the reverse. Check what pytest does when both tables are present, and setunreadableif it's unclear.pytest.tomland.pytest.tomlare added toPROJECT_FILESand to the Python entries inCONFIG_PATTERNS(src/git/git-diff.ts). A change to either then falls back with a named reason, likepytest.ini.- There are tests for each file and the precedence between them.
New to DiffCI? See CONTRIBUTING.md: add a synthetic fixture, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 4
- 平均マージ
- 18時間 41分
- マージ済み PR(30日)
- 48
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiffCI/core のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Planner: splitParts regex is quadratic on a quote followed by many backticks, so the fuzz test fails at random対応中かも @FredApps が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
Agent tools: changed_files lists only the new path of a renamed file対応中かも @FredApps が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
adapter good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
agent-ready area: ui-server priority: p3 type: test
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
schlessera/brain-kit#4249 ·
メンテナーはふだん 1 日以内に返信
-
documentation tool triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
can1357/oh-my-pi#19608 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
dependencies tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
bcgov/nr-waste-plus#1549 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
blixvip/solana-token-meta#17 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
blixvip/solana-tx-parse#18 ·