Skip to content

Commit aaa8e26

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

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

pyproject.toml

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

97+
[tool.mypy]
98+
enable_error_code = [
99+
"ignore-without-code",
100+
"redundant-expr",
101+
"truthy-bool",
102+
]
103+
mypy_path = "src/"
104+
namespace_packages = false
105+
strict = true
106+
warn_unreachable = true
107+
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
108+
97109
[tool.pytest]
98110
ini_options.addopts = """\
99111
--strict-config
@@ -117,17 +129,5 @@ report.show_missing = true
117129
report.skip_covered = true
118130
report.skip_empty = true
119131

120-
[tool.mypy]
121-
enable_error_code = [
122-
"ignore-without-code",
123-
"redundant-expr",
124-
"truthy-bool",
125-
]
126-
mypy_path = "src/"
127-
namespace_packages = false
128-
strict = true
129-
warn_unreachable = true
130-
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
131-
132132
[tool.rstcheck]
133133
report_level = "ERROR"

0 commit comments

Comments
 (0)