-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
117 lines (105 loc) · 2.11 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=48",
"setuptools-scm[toml]>=6.3.1",
]
[project]
name = "pytest-test-utils"
readme = "README.md"
license = { text = "Apache License 2.0" }
authors = [
{ name = "Saugat Pachhai", email = "[email protected]" },
]
requires-python = ">=3.7"
classifiers = [
"Framework :: Pytest",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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",
]
dynamic = [
"version",
]
dependencies = [
"pytest>=3.9",
]
optional-dependencies.dev = [
"mypy==1.8",
"pytest-test-utils[tests]",
]
optional-dependencies.tests = [
"coverage>=6",
]
urls.Issues = "https://github.com/iterative/pytest-test-utils/issues"
urls.Source = "https://github.com/iterative/pytest-test-utils"
entry-points.pytest11.pytest_test_utils = "pytest_test_utils.pytest_plugin"
[tool.setuptools.package-data]
pytest_test_utils = [
"py.typed",
]
[tool.setuptools_scm]
[tool.ruff]
show-fixes = true
output-format = "full"
lint.extend-select = [
"B",
"C4",
"I",
"S",
"T10",
]
lint.ignore = [
"S101",
]
[tool.codespell]
ignore-words-list = "cachable"
[tool.pytest.ini_options]
testpaths = [
"tests.py",
]
[tool.coverage.run]
branch = true
source = [
"pytest_test_utils",
]
[tool.coverage.paths]
source = [
"dvc",
]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
"@overload",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
]
show_missing = true
[tool.mypy]
# Error output
show_column_numbers = true
show_error_codes = true
show_error_context = true
show_traceback = true
pretty = true
check_untyped_defs = true
strict = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
files = [
"pytest_test_utils",
"tests.py",
]
[[tool.mypy.overrides]]
module = [
"tests",
]
strict_equality = false