File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ repos:
1717 - id : end-of-file-fixer
1818 - id : trailing-whitespace
1919- repo : https://github.com/crate-ci/typos
20- rev : 5745f2a8dd91cd7b684680e2e10a2b388ba6e5cf # frozen: v1
20+ rev : f06b85043a5ab470afbb0a5592456e733243983a # frozen: v1
2121 hooks :
2222 - id : typos
2323- repo : https://github.com/tox-dev/pyproject-fmt
24- rev : 51905ea0435df7e0b1dacf8108081e6a14b620bd # frozen: v2.16.2
24+ rev : 6e10264313f53d6247a8b1b984f5b5ccf50ba539 # frozen: v2.21.0
2525 hooks :
2626 - id : pyproject-fmt
2727- repo : https://github.com/tox-dev/tox-ini-fmt
@@ -50,12 +50,12 @@ repos:
5050 additional_dependencies :
5151 - black==25.1.0
5252- repo : https://github.com/astral-sh/ruff-pre-commit
53- rev : a27a2e47c7751b639d2b5badf0ef6ff11fee893f # frozen: v0.15.4
53+ rev : c60c980e561ed3e73101667fe8365c609d19a438 # frozen: v0.15.9
5454 hooks :
5555 - id : ruff-check
5656 args : [ --fix ]
5757 - id : ruff-format
5858- repo : https://github.com/pre-commit/mirrors-mypy
59- rev : a66e98df7b4aeeb3724184b332785976d062b92e # frozen: v1.19.1
59+ rev : 8e5c80792e2ec0c87804d8ef915bf35e2caea6da # frozen: v1.20.0
6060 hooks :
6161 - id : mypy
Original file line number Diff line number Diff line change @@ -129,6 +129,23 @@ lint.isort.required-imports = [ "from __future__ import annotations" ]
129129[tool .pyproject-fmt ]
130130max_supported_python = " 3.14"
131131
132+ [tool .mypy ]
133+ enable_error_code = [
134+ " ignore-without-code" ,
135+ " redundant-expr" ,
136+ " truthy-bool" ,
137+ ]
138+ check_untyped_defs = true
139+ disallow_any_generics = true
140+ disallow_incomplete_defs = true
141+ disallow_untyped_defs = true
142+ mypy_path = " src/"
143+ namespace_packages = false
144+ no_implicit_optional = true
145+ warn_unreachable = true
146+ warn_unused_ignores = true
147+ overrides = [ { module = " tests.*" , allow_untyped_defs = true } ]
148+
132149[tool .pytest ]
133150ini_options.addopts = """ \
134151 --strict-config
@@ -154,23 +171,6 @@ report.show_missing = true
154171report.skip_covered = true
155172report.skip_empty = true
156173
157- [tool .mypy ]
158- enable_error_code = [
159- " ignore-without-code" ,
160- " redundant-expr" ,
161- " truthy-bool" ,
162- ]
163- check_untyped_defs = true
164- disallow_any_generics = true
165- disallow_incomplete_defs = true
166- disallow_untyped_defs = true
167- mypy_path = " src/"
168- namespace_packages = false
169- no_implicit_optional = true
170- warn_unreachable = true
171- warn_unused_ignores = true
172- overrides = [ { module = " tests.*" , allow_untyped_defs = true } ]
173-
174174[tool .rstcheck ]
175175ignore_directives = [
176176 " automodule" ,
You can’t perform that action at this time.
0 commit comments