Skip to content

Commit 94db872

Browse files
committed
Linter fixes.
1 parent b2b21b7 commit 94db872

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
repos:
22
- repo: https://github.com/tox-dev/pyproject-fmt
3-
rev: "v2.16.1"
3+
rev: "v2.20.0"
44
hooks:
55
- id: pyproject-fmt
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.15.2
7+
rev: v0.15.8
88
hooks:
99
- id: ruff-format
1010
- id: ruff

pyproject.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,28 @@ isort.lines-between-types = 1
221221
max_supported_python = "3.14"
222222
table_format = "long"
223223

224+
[tool.mypy]
225+
python_version = "3.10"
226+
namespace_packages = true
227+
explicit_package_bases = true
228+
check_untyped_defs = true
229+
disallow_any_generics = true
230+
disallow_incomplete_defs = true
231+
disallow_subclassing_any = true
232+
disallow_untyped_calls = true
233+
disallow_untyped_decorators = true
234+
disallow_untyped_defs = true
235+
follow_imports = "normal"
236+
no_implicit_optional = true
237+
strict_equality = true
238+
warn_no_return = true
239+
warn_redundant_casts = true
240+
warn_return_any = true
241+
warn_unused_ignores = true
242+
exclude = [
243+
"tests/test_plugin/build",
244+
]
245+
224246
[tool.pytest.ini_options]
225247
minversion = "6.0"
226248
xfail_strict = true
@@ -271,25 +293,3 @@ showcontent = true
271293
directory = "fixing"
272294
name = "Fixes"
273295
showcontent = true
274-
275-
[tool.mypy]
276-
python_version = "3.10"
277-
namespace_packages = true
278-
explicit_package_bases = true
279-
check_untyped_defs = true
280-
disallow_any_generics = true
281-
disallow_incomplete_defs = true
282-
disallow_subclassing_any = true
283-
disallow_untyped_calls = true
284-
disallow_untyped_decorators = true
285-
disallow_untyped_defs = true
286-
follow_imports = "normal"
287-
no_implicit_optional = true
288-
strict_equality = true
289-
warn_no_return = true
290-
warn_redundant_casts = true
291-
warn_return_any = true
292-
warn_unused_ignores = true
293-
exclude = [
294-
"tests/test_plugin/build",
295-
]

0 commit comments

Comments
 (0)