Skip to content

Commit 0588af0

Browse files
committed
2 parents ebddeb3 + 1a27fd5 commit 0588af0

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

.coveragerc

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ disable_warnings =
1717
[report]
1818
show_missing = True
1919
exclude_also =
20-
# jaraco/skeleton#97
21-
@overload
20+
# Exclude common false positives per
21+
# https://coverage.readthedocs.io/en/latest/excluding.html#advanced-exclusion
22+
# Ref jaraco/skeleton#97 and jaraco/skeleton#135
23+
class .*\bProtocol\):
2224
if TYPE_CHECKING:

pyproject.toml

+19-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ Changelog = "https://setuptools.pypa.io/en/stable/history.html"
3636
test = [
3737
# upstream
3838
"pytest >= 6, != 8.1.*",
39-
"pytest-checkdocs >= 2.4",
40-
"pytest-cov",
41-
"pytest-mypy",
42-
"pytest-enabler >= 2.2",
43-
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",
4439

4540
# local
4641
"virtualenv>=13.0.0",
@@ -81,6 +76,7 @@ test = [
8176
# workaround for businho/pytest-ruff#28
8277
'pytest-ruff < 0.4; platform_system == "Windows"',
8378
]
79+
8480
doc = [
8581
# upstream
8682
"sphinx >= 3.5",
@@ -121,6 +117,24 @@ core = [
121117
"platformdirs >= 2.6.2",
122118
]
123119

120+
check = [
121+
"pytest-checkdocs >= 2.4",
122+
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",
123+
]
124+
125+
cover = [
126+
"pytest-cov",
127+
]
128+
129+
enabler = [
130+
"pytest-enabler >= 2.2",
131+
]
132+
133+
type = [
134+
"pytest-mypy",
135+
]
136+
137+
124138
[project.entry-points."distutils.commands"]
125139
alias = "setuptools.command.alias:alias"
126140
bdist_egg = "setuptools.command.bdist_egg:bdist_egg"

tox.ini

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ commands =
1010
usedevelop = True
1111
extras =
1212
test
13+
check
14+
cover
15+
enabler
16+
type
1317
core
1418
pass_env =
1519
SETUPTOOLS_USE_DISTUTILS

0 commit comments

Comments
 (0)