Skip to content

Commit 16ea12d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4002d76 commit 16ea12d

1 file changed

Lines changed: 13 additions & 20 deletions

File tree

pyproject.toml

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -94,29 +94,25 @@ lint.isort.required-imports = [ "from __future__ import annotations" ]
9494
[tool.pyproject-fmt]
9595
max_supported_python = "3.14"
9696

97-
[tool.pytest.ini_options]
98-
addopts = """\
97+
[tool.pytest]
98+
ini_options.addopts = """\
9999
--strict-config
100100
--strict-markers
101101
"""
102-
xfail_strict = true
102+
ini_options.xfail_strict = true
103103

104-
[tool.coverage.paths]
105-
source = [
106-
"src",
107-
".tox/**/site-packages",
108-
]
109-
110-
[tool.coverage.report]
111-
show_missing = true
112-
113-
[tool.coverage.run]
114-
branch = true
115-
parallel = true
116-
source = [
104+
[tool.coverage]
105+
run.branch = true
106+
run.parallel = true
107+
run.source = [
117108
"pytest_randomly",
118109
"tests",
119110
]
111+
paths.source = [
112+
"src",
113+
".tox/**/site-packages",
114+
]
115+
report.show_missing = true
120116

121117
[tool.mypy]
122118
enable_error_code = [
@@ -128,10 +124,7 @@ mypy_path = "src/"
128124
namespace_packages = false
129125
strict = true
130126
warn_unreachable = true
131-
132-
[[tool.mypy.overrides]]
133-
module = "tests.*"
134-
allow_untyped_defs = true
127+
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
135128

136129
[tool.rstcheck]
137130
report_level = "ERROR"

0 commit comments

Comments
 (0)