Skip to content

Commit a01c954

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 92c02d3 commit a01c954

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

pyproject.toml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,15 @@ urls.Issues = "https://github.com/iterative/pytest-test-utils/issues"
4141
urls.Source = "https://github.com/iterative/pytest-test-utils"
4242
entry-points.pytest11.pytest_test_utils = "pytest_test_utils.pytest_plugin"
4343

44-
[tool.setuptools.package-data]
45-
pytest_test_utils = [
44+
[tool.setuptools]
45+
package-data.pytest_test_utils = [
4646
"py.typed",
4747
]
4848

4949
[tool.setuptools_scm]
5050

5151
[tool.ruff]
5252
show-fixes = true
53-
5453
output-format = "full"
5554
lint.extend-select = [
5655
"B",
@@ -66,33 +65,29 @@ lint.ignore = [
6665
[tool.codespell]
6766
ignore-words-list = "cachable"
6867

69-
[tool.pytest.ini_options]
70-
testpaths = [
68+
[tool.pytest]
69+
ini_options.testpaths = [
7170
"tests.py",
7271
]
7372

74-
[tool.coverage.run]
75-
branch = true
76-
source = [
73+
[tool.coverage]
74+
run.branch = true
75+
run.source = [
7776
"pytest_test_utils",
7877
]
79-
80-
[tool.coverage.paths]
81-
source = [
78+
paths.source = [
8279
"dvc",
8380
]
84-
85-
[tool.coverage.report]
86-
exclude_lines = [
81+
report.exclude_lines = [
82+
"@overload",
8783
"if __name__ == .__main__.:",
8884
"if TYPE_CHECKING:",
8985
"if typing.TYPE_CHECKING:",
90-
"@overload",
9186
"pragma: no cover",
9287
"raise AssertionError",
9388
"raise NotImplementedError",
9489
]
95-
show_missing = true
90+
report.show_missing = true
9691

9792
[tool.mypy]
9893
# Error output
@@ -110,9 +105,6 @@ files = [
110105
"pytest_test_utils",
111106
"tests.py",
112107
]
113-
114-
[[tool.mypy.overrides]]
115-
module = [
108+
overrides = [ { module = [
116109
"tests",
117-
]
118-
strict_equality = false
110+
], strict_equality = false } ]

0 commit comments

Comments
 (0)