-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
98 lines (90 loc) · 2.81 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
requires = ["setuptools >= 64"]
build-backend = "setuptools.build_meta"
[project]
name = "pytest-trio"
dynamic = ["version"]
authors = [
{ name="Emmanuel Leblond", email="[email protected]" },
]
description = "Pytest plugin for trio"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Topic :: System :: Networking",
"Topic :: Software Development :: Testing",
"Framework :: Hypothesis",
"Framework :: Pytest",
"Framework :: Trio",
]
keywords = [
"async",
"pytest",
"testing",
"trio",
]
dependencies = [
"trio >= 0.25.1", # for upstream Hypothesis integration
"outcome >= 1.1.0",
"pytest >= 7.2.0", # for ExceptionGroup support
]
[tool.setuptools.dynamic]
version = {attr = "pytest_trio._version.__version__"}
[project.urls]
"Homepage" = "https://github.com/python-trio/pytest-trio"
"Source" = "https://github.com/python-trio/pytest-trio"
"Bug Tracker" = "https://github.com/python-trio/pytest-trio/issues"
[project.entry-points.pytest11]
trio = "pytest_trio.plugin"
[tool.setuptools.packages]
find = {namespaces = false}
[tool.towncrier]
package = "pytest_trio"
filename = "docs/source/history.rst"
directory = "newsfragments"
title_format = "pytest-trio {version} ({project_date})"
underlines = ["-", "~", "^"]
issue_format = "`#{issue} <https://github.com/python-trio/pytest-trio/issues/{issue}>`__"
[tool.coverage.run]
branch = true
source_pkgs = ["pytest_trio"]
[tool.coverage.report]
precision = 1
skip_covered = true
exclude_lines = [
"pragma: no cover",
"abc.abstractmethod",
"if TYPE_CHECKING.*:",
"if _t.TYPE_CHECKING:",
"if t.TYPE_CHECKING:",
"@overload",
'class .*\bProtocol\b.*\):',
"raise NotImplementedError",
]
partial_branches = [
"pragma: no branch",
"if not TYPE_CHECKING:",
"if not _t.TYPE_CHECKING:",
"if not t.TYPE_CHECKING:",
"if .* or not TYPE_CHECKING:",
"if .* or not _t.TYPE_CHECKING:",
"if .* or not t.TYPE_CHECKING:",
]