File tree Expand file tree Collapse file tree 6 files changed +12
-17
lines changed Expand file tree Collapse file tree 6 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 33max-line-length = 88
44
55extend-ignore =
6- D107, # Missing docstring in __init__
6+ # Missing docstring in __init__
7+ D107
78
8- per-file-ignores =
9+ per-file-ignores =
910 # TODO: Incrementally add missing docstrings
1011 # D100 Missing docstring in public module
1112 # D101 Missing docstring in public class
Original file line number Diff line number Diff line change 5252 - name : Run type-checking
5353 run : python -m tox -e types
5454 - name : Run tests
55- run : python -m tox -e py -- --cov-report xml
56- - uses : codecov/codecov-action@v1
57- if : github.event_name != 'schedule'
58- with :
59- file : ./coverage.xml
60- name : ${{ matrix.python-version }} - ${{ matrix.platform }}
61- fail_ci_if_error : true
55+ run : python -m tox -e py
6256
6357 # Because the tests can be flaky, they shouldn't be required for merge, but
6458 # it's still helpful to run them on PRs. See:
Original file line number Diff line number Diff line change 1010.. image :: https://img.shields.io/github/workflow/status/pypa/twine/Main
1111 :target: https://github.com/pypa/twine/actions
1212
13- .. image :: https://img.shields.io/codecov/c/github/pypa/twine
14- :target: https://codecov.io/gh/pypa/twine
15-
1613twine
1714=====
1815
Original file line number Diff line number Diff line change @@ -6,5 +6,4 @@ filterwarnings=
66 ignore:the imp module is deprecated::setuptools
77
88addopts =
9- --cov =twine --cov-context =test --cov-report =
109 --disable-socket
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ def configure_output():
2020 """
2121 rich .reconfigure (
2222 no_color = True ,
23+ color_system = None ,
24+ emoji = False ,
25+ highlight = False ,
2326 width = 500 ,
2427 )
2528
Original file line number Diff line number Diff line change @@ -7,13 +7,15 @@ isolated_build = True
77deps =
88 pretend
99 pytest
10- pytest-cov
1110 pytest-socket
1211 build
12+ coverage
1313passenv =
1414 PYTEST_ADDOPTS
1515commands =
16- pytest --ignore-glob ' *integration*.py' {posargs:--cov-report term-missing --cov-report html}
16+ python -m coverage run -m pytest --ignore-glob ' *integration*.py'
17+ python -m coverage html --show-contexts
18+ python -m coverage report -m --fail-under 97
1719
1820[testenv:integration]
1921deps =
2628passenv =
2729 PYTEST_ADDOPTS
2830commands =
29- # Skipping coverage because that should be handled by the other tests
30- pytest -r aR --no-cov tests/test_integration.py
31+ pytest -r aR tests/test_integration.py
3132
3233[testenv:docs]
3334deps =
You can’t perform that action at this time.
0 commit comments