Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 21, 2024
2 parents ebddeb3 + 1a27fd5 commit 0588af0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ disable_warnings =
[report]
show_missing = True
exclude_also =
# jaraco/skeleton#97
@overload
# Exclude common false positives per
# https://coverage.readthedocs.io/en/latest/excluding.html#advanced-exclusion
# Ref jaraco/skeleton#97 and jaraco/skeleton#135
class .*\bProtocol\):
if TYPE_CHECKING:
24 changes: 19 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ Changelog = "https://setuptools.pypa.io/en/stable/history.html"
test = [
# upstream
"pytest >= 6, != 8.1.*",
"pytest-checkdocs >= 2.4",
"pytest-cov",
"pytest-mypy",
"pytest-enabler >= 2.2",
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",

# local
"virtualenv>=13.0.0",
Expand Down Expand Up @@ -81,6 +76,7 @@ test = [
# workaround for businho/pytest-ruff#28
'pytest-ruff < 0.4; platform_system == "Windows"',
]

doc = [
# upstream
"sphinx >= 3.5",
Expand Down Expand Up @@ -121,6 +117,24 @@ core = [
"platformdirs >= 2.6.2",
]

check = [
"pytest-checkdocs >= 2.4",
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",
]

cover = [
"pytest-cov",
]

enabler = [
"pytest-enabler >= 2.2",
]

type = [
"pytest-mypy",
]


[project.entry-points."distutils.commands"]
alias = "setuptools.command.alias:alias"
bdist_egg = "setuptools.command.bdist_egg:bdist_egg"
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ commands =
usedevelop = True
extras =
test
check
cover
enabler
type
core
pass_env =
SETUPTOOLS_USE_DISTUTILS
Expand Down

0 comments on commit 0588af0

Please sign in to comment.