Lots of red text when running `tox` on a fresh cookie.
@samcunliffe がすでに取り組んでいます。
2025年7月15日 から。
評価
この issue はまだ評価されていません。
説明
Describe the Bug
During the workshop we ran tox on a demo package. There were a lot of errors possibly related to coverage?
To Reproduce
Cookiecut a fresh cookie.
uv venv
source .venv/bin/activate
uv pip install -e ".[dev,test]"
which tox
tox
Expected Behaviour
tox should run tests in all supported Python versions with nice comforting green text. And no red text.
Actual Behaviour
/Users/scnlf/projects/example-cookie/.tox/py311/lib/python3.11/site-packages/coverage/inorout.py:509: CoverageWarning: Module example-cookie was never imported. (module-not-imported)
self.warn(f"Module {pkg} was never imported.", slug="module-not-imported")
/Users/scnlf/projects/example-cookie/.tox/py311/lib/python3.11/site-packages/coverage/control.py:915: CoverageWarning: No data was collected. (no-data-collected)
self._warn("No data was collected.", slug="no-data-collected")
tests/test_dummy.py::test_stupid_example PASSED [100%]
WARNING: Failed to generate report: No data to report.
/Users/scnlf/projects/example-cookie/.tox/py311/lib/python3.11/site-packages/pytest_cov/plugin.py:358: CovReportWarning: Failed to generate report: No data to report.
warnings.warn(CovReportWarning(message), stacklevel=1)
========================================================= tests coverage =========================================================
_______________________________________ coverage: platform darwin, python 3.11.12-final-0 ________________________________________
======================================================= 1 passed in 0.02s ========================================================
py311: OK ✔ in 9.54 seconds
py312: install_package_deps> python -I -m pip install pytest pytest-cov
py312: install_package> python -I -m pip install --force-reinstall --no-deps /Users/scnlf/projects/example-cookie/.tox/.tmp/package/4/example-cookie-0.1.dev0.tar.gz
py312: commands[0]> pytest --cov --cov-report=xml
Version In Use
Current latest tag.
Additional Context
- Cookiecutter version:
- Operating system: macOS
- Python version: all!
- 主要言語
- Python
- スター
- 62
- フォーク
- 10
- 平均マージ
- 14日 16時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UCL-ARC/python-tooling のほかの issue
-
task
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
UCL-ARC/python-tooling#651 · コメント 3 件 ·
-
Should we have an AI policy?対応中かも @samcunliffe が 25 日前に担当しました。 オープンquestion
UCL-ARC/python-tooling#649 · コメント 3 件 · 担当者 1 名 ·
-
enhancement investigate
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
UCL-ARC/python-tooling#623 · リアクション 1 件 ·
-
enhancement question task
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
UCL-ARC/python-tooling#620 · コメント 4 件 ·
-
task
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
UCL-ARC/python-tooling#619 ·
UCL-ARC/python-tooling の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
btclib-org/btclib-node#2198 ·
メンテナーはふだん 1 日以内に返信
-
Remove the em dashes from the skill smart-account reference対応中かも @Vamsi-2581 が今日担当しました。 オープンagent-ready area: docs documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Soneso/stellar-agent-wallet#541 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sususweet/midea_auto_cloud#285 ·
メンテナーはふだん 1 日以内に返信
-
2026-11 documentation good first issue gsoc-2027 project: gsoc
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
alphaonelabs/website#1154 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信