Repository navigation
Commit f3e4e30
committed
build(packaging): tidy pytest/pyproject/MANIFEST, relocate issue template
Coverage flags:
- pytest.ini: move all --cov* flags out of addopts into the tox
[testenv] commands so a bare `pytest -k foo` runs without coverage
instrumentation. CI still enforces the 100% gate through tox (verified:
the full suite reaches 100.00% and the gate fires via the explicit-cov
command; no workflow consumes coverage.xml directly).
python_files:
- pytest.ini: restrict python_files to tests/*.py (drop progressbar/*.py).
Verified --doctest-modules still collects the same 13 progressbar
doctests and total collection is unchanged (586 items).
- Removing progressbar modules from test-module collection also stops
pytests assertion-rewrite temporaries (@py_assert1/@py_assert2) from
leaking into progressbar.utils namespace, which had been captured in
the API-surface snapshot. Drop those two bogus entries from
tests/api_surface_snapshot.json; they were never real public API.
Dependencies / build:
- pyproject.toml: drop unused tests extras: flake8 (linting is ruff now),
pytest-mypy (mypy is local-only), and sphinx (already provided by the
docs extra; nothing under tests/ imports it).
- pyproject.toml: KEEP setuptools-scm in build-system.requires. The audit
flagged it as unused, but an sdist-parity check proved it provides the
git file-finder that ships docs/, tests/ data, tox.ini and .github/;
dropping it shrinks the sdist 152 -> 90 files and omits the test
harness. Added a comment so it is not removed again.
MANIFEST.in:
- Drop includes for nonexistent files (AUTHORS.rst, requirements.txt,
Makefile) and the malformed `recursive-exclude *.html`. The sdist file
list is identical before/after this edit.
Issue template:
- git mv ISSUE_TEMPLATE -> .github/ISSUE_TEMPLATE.md (canonical GitHub
location for the default issue template).1 parent 2523a93 commit f3e4e30
6 files changed
Lines changed: 11 additions & 17 deletions
File tree
- .github
- tests
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | | - | |
11 | | - | |
12 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
127 | | - | |
128 | 133 | | |
129 | 134 | | |
130 | | - | |
131 | 135 | | |
132 | | - | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | 459 | | |
462 | 460 | | |
463 | 461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments