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 : a90d2a917d59472bef788897931c1a5a5d12870a # frozen: v1
20+ rev : 0758ccd3261dc7b0594e9b698113eb08d3ba25b5 # frozen: v1
2121 hooks :
2222 - id : typos
2323- repo : https://github.com/tox-dev/pyproject-fmt
24- rev : 91de51aef61c5f2383f03da25604e3d65a8309e0 # frozen: v2.21.1
24+ rev : 3a8ef795727fa946dfcb21c5d07b1442c2362c09 # frozen: v2.23.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 : 6fec9b7edb08fd9989088709d864a7826dc74e80 # frozen: v0.15.12
53+ rev : 0671d8ab202c4ac093b78433ae5baf74f3fc7246 # frozen: v0.15.15
5454 hooks :
5555 - id : ruff-check
5656 args : [ --fix ]
5757 - id : ruff-format
5858- repo : https://github.com/pre-commit/mirrors-mypy
59- rev : fc0f09a29bb495f4a91f00266155d6282d52485d # frozen: v1.20.2
59+ rev : d2823d321df3af8f878f7ee3414dc94d037145b9 # frozen: v2.1.0
6060 hooks :
6161 - id : mypy
Original file line number Diff line number Diff line change @@ -130,26 +130,26 @@ lint.isort.required-imports = [ "from __future__ import annotations" ]
130130max_supported_python = " 3.14"
131131
132132[tool .mypy ]
133+ mypy_path = " src/"
134+ namespace_packages = false
135+ disallow_any_generics = true
136+ disallow_untyped_defs = true
137+ disallow_incomplete_defs = true
138+ check_untyped_defs = true
139+ warn_unused_ignores = true
140+ warn_unreachable = true
133141enable_error_code = [
134142 " ignore-without-code" ,
135143 " redundant-expr" ,
136144 " truthy-bool" ,
137145]
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
147146overrides = [ { module = " tests.*" , allow_untyped_defs = true } ]
147+ no_implicit_optional = true
148148
149149[tool .pytest ]
150- strict = true
151150django_find_project = false
152151DJANGO_SETTINGS_MODULE = " tests.settings"
152+ strict = true
153153
154154[tool .coverage ]
155155run.branch = true
You can’t perform that action at this time.
0 commit comments