Skip to content

Commit ee78da1

Browse files
chore(pre-commit.ci): auto fixes
1 parent cb163a8 commit ee78da1

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,22 @@ lint.per-file-ignores."tests/**/*" = [
9595
]
9696
lint.isort.known-first-party = [ "array_api", "tests" ]
9797

98+
[tool.mypy]
99+
check_untyped_defs = true
100+
disallow_any_generics = false
101+
disallow_incomplete_defs = true
102+
disallow_untyped_defs = true
103+
mypy_path = "src/"
104+
no_implicit_optional = true
105+
show_error_codes = true
106+
warn_unreachable = true
107+
warn_unused_ignores = true
108+
exclude = [
109+
"docs/.*",
110+
"setup.py",
111+
]
112+
overrides = [ { module = "tests.*", allow_untyped_defs = true }, { module = "docs.*", ignore_errors = true } ]
113+
98114
[tool.pytest]
99115
ini_options.addopts = """\
100116
-v
@@ -115,22 +131,6 @@ report.exclude_lines = [
115131
"raise NotImplementedError",
116132
]
117133

118-
[tool.mypy]
119-
check_untyped_defs = true
120-
disallow_any_generics = false
121-
disallow_incomplete_defs = true
122-
disallow_untyped_defs = true
123-
mypy_path = "src/"
124-
no_implicit_optional = true
125-
show_error_codes = true
126-
warn_unreachable = true
127-
warn_unused_ignores = true
128-
exclude = [
129-
"docs/.*",
130-
"setup.py",
131-
]
132-
overrides = [ { module = "tests.*", allow_untyped_defs = true }, { module = "docs.*", ignore_errors = true } ]
133-
134134
[tool.semantic_release]
135135
version_toml = [ "pyproject.toml:project.version" ]
136136
version_variables = [

0 commit comments

Comments
 (0)