Skip to content

Commit 1a490a8

Browse files
[pre-commit.ci] pre-commit autoupdate (#586)
1 parent dd538d0 commit 1a490a8

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
)$
2323
- id: trailing-whitespace
2424
- repo: https://github.com/crate-ci/typos
25-
rev: 5745f2a8dd91cd7b684680e2e10a2b388ba6e5cf # frozen: v1
25+
rev: f06b85043a5ab470afbb0a5592456e733243983a # frozen: v1
2626
hooks:
2727
- id: typos
2828
exclude: |
@@ -31,7 +31,7 @@ repos:
3131
|.*\.svg
3232
)$
3333
- repo: https://github.com/tox-dev/pyproject-fmt
34-
rev: 51905ea0435df7e0b1dacf8108081e6a14b620bd # frozen: v2.16.2
34+
rev: 6e10264313f53d6247a8b1b984f5b5ccf50ba539 # frozen: v2.21.0
3535
hooks:
3636
- id: pyproject-fmt
3737
- repo: https://github.com/tox-dev/tox-ini-fmt
@@ -60,13 +60,13 @@ repos:
6060
additional_dependencies:
6161
- black==25.1.0
6262
- repo: https://github.com/astral-sh/ruff-pre-commit
63-
rev: a27a2e47c7751b639d2b5badf0ef6ff11fee893f # frozen: v0.15.4
63+
rev: c60c980e561ed3e73101667fe8365c609d19a438 # frozen: v0.15.9
6464
hooks:
6565
- id: ruff-check
6666
args: [ --fix ]
6767
- id: ruff-format
6868
- repo: https://github.com/pre-commit/mirrors-mypy
69-
rev: a66e98df7b4aeeb3724184b332785976d062b92e # frozen: v1.19.1
69+
rev: 8e5c80792e2ec0c87804d8ef915bf35e2caea6da # frozen: v1.20.0
7070
hooks:
7171
- id: mypy
7272
additional_dependencies:

pyproject.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,18 @@ lint.isort.required-imports = [ "from __future__ import annotations" ]
117117
[tool.pyproject-fmt]
118118
max_supported_python = "3.14"
119119

120+
[tool.mypy]
121+
enable_error_code = [
122+
"ignore-without-code",
123+
"redundant-expr",
124+
"truthy-bool",
125+
]
126+
mypy_path = "src/"
127+
namespace_packages = false
128+
strict = true
129+
warn_unreachable = true
130+
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
131+
120132
[tool.pytest]
121133
ini_options.addopts = """\
122134
--strict-config
@@ -142,18 +154,6 @@ report.show_missing = true
142154
report.skip_covered = true
143155
report.skip_empty = true
144156

145-
[tool.mypy]
146-
enable_error_code = [
147-
"ignore-without-code",
148-
"redundant-expr",
149-
"truthy-bool",
150-
]
151-
mypy_path = "src/"
152-
namespace_packages = false
153-
strict = true
154-
warn_unreachable = true
155-
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
156-
157157
[tool.rstcheck]
158158
ignore_directives = [
159159
"autoclass",

0 commit comments

Comments
 (0)