Skip to content

Commit b043953

Browse files
committed
Linter fixes.
1 parent 206ab50 commit b043953

2 files changed

Lines changed: 21 additions & 21 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: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,25 @@ isort.lines-between-types = 1
191191
max_supported_python = "3.14"
192192
table_format = "long"
193193

194+
[tool.mypy]
195+
python_version = "3.10"
196+
namespace_packages = true
197+
explicit_package_bases = true
198+
check_untyped_defs = true
199+
disallow_any_generics = true
200+
disallow_incomplete_defs = true
201+
disallow_subclassing_any = true
202+
disallow_untyped_calls = true
203+
disallow_untyped_decorators = true
204+
disallow_untyped_defs = true
205+
follow_imports = "normal"
206+
no_implicit_optional = true
207+
strict_equality = true
208+
warn_no_return = true
209+
warn_redundant_casts = true
210+
warn_return_any = true
211+
warn_unused_ignores = true
212+
194213
[tool.pytest]
195214
[tool.pytest.ini_options]
196215
minversion = "6.0"
@@ -225,22 +244,3 @@ type = [
225244
{ directory = "changing", name = "Changes", showcontent = true },
226245
{ directory = "fixing", name = "Fixes", showcontent = true },
227246
]
228-
229-
[tool.mypy]
230-
python_version = "3.10"
231-
namespace_packages = true
232-
explicit_package_bases = true
233-
check_untyped_defs = true
234-
disallow_any_generics = true
235-
disallow_incomplete_defs = true
236-
disallow_subclassing_any = true
237-
disallow_untyped_calls = true
238-
disallow_untyped_decorators = true
239-
disallow_untyped_defs = true
240-
follow_imports = "normal"
241-
no_implicit_optional = true
242-
strict_equality = true
243-
warn_no_return = true
244-
warn_redundant_casts = true
245-
warn_return_any = true
246-
warn_unused_ignores = true

0 commit comments

Comments
 (0)