Feature requrest [I can do it myself if allowed]: Allow configuration of `pytest-examples` from `pyproject.toml`
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 64/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- testing-qa
調査の方向性
まず、pydantic-jsonschema で参照されている tests/test_docs.py の設定と、その pyproject.toml の例を比較します。どの pytest-examples オプションを設定可能にすべきかを特定し、同等の設定が pyproject.toml を通じて機能することを、サポート対象の設定を網羅するテストで検証します。
索引モデルが issue の本文から書いたものです。
説明
Summary
Hey everyone!
I use pytest-examples in my small library and I see that at least pydantic-ai uses it
So I would like to make this library better
My initial PR was to enable pytest-examples on Windows, and now I would like to make it configurable via pyproject.toml
Here are examples of how I currently do this in my own library:
Example of how I pass my configurations:
https://github.com/Danipulok/pydantic-jsonschema/blob/3d14999a72bc873f3879cbbf30fe43cd6c6035ca/tests/test_docs.py#L12-L42
Example of the pyproject.toml I use:
https://github.com/Danipulok/pydantic-jsonschema/blob/3d14999a72bc873f3879cbbf30fe43cd6c6035ca/pyproject.toml#L257-L263
If allowed, I will see what options should be enabled etc., and simply will pass then as I do in my own code, but inside the library.
PS
I'm ready to help and would like to make this library better, so I can update all the deps, QOL, typehints and etc.
For this I would need someone to guide me (a little bit, I'm pretty independent) and merge PRs
I'm sure that samuelcolvin is pretty busy, but maybe someone from pydantic team would be able to spend like 10 minutes a day for this?
- 主要言語
- Python
- スター
- 181
- フォーク
- 29
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pydantic/pytest-examples のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pydantic/pytest-examples#87 ·
-
Clean up Needed対応中かも @Danipulok が 73 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
pydantic/pytest-examples#72 · コメント 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
pydantic/pytest-examples#82 ·
-
target_versions are out of date対応中かも @stevenh が 507 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
pydantic/pytest-examples#63 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
pydantic/pytest-examples#62 · コメント 1 件 ·
pydantic/pytest-examples の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OCA/account-invoicing#2529 ·
メンテナーはふだん 1 日以内に返信
-
area/ci
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
ImageGen generate-batch aborts valid JSONL jobs containing a Unicode line separator in poster textオープンbug imagen skills
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Email validation accepts a trailing newline対応中かも @marcello-pichini が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信