Skip to content

Commit 56d1388

Browse files
[pre-commit.ci] pre-commit autoupdate (#715)
1 parent 43702c1 commit 56d1388

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
@@ -41,13 +41,13 @@ repos:
4141
additional_dependencies:
4242
- black==25.1.0
4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: a27a2e47c7751b639d2b5badf0ef6ff11fee893f # frozen: v0.15.4
44+
rev: c60c980e561ed3e73101667fe8365c609d19a438 # frozen: v0.15.9
4545
hooks:
4646
- id: ruff-check
4747
args: [ --fix ]
4848
- id: ruff-format
4949
- repo: https://github.com/pre-commit/mirrors-mypy
50-
rev: a66e98df7b4aeeb3724184b332785976d062b92e # frozen: v1.19.1
50+
rev: 8e5c80792e2ec0c87804d8ef915bf35e2caea6da # frozen: v1.20.0
5151
hooks:
5252
- id: mypy
5353
additional_dependencies:

pyproject.toml

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

97+
[tool.mypy]
98+
enable_error_code = [
99+
"ignore-without-code",
100+
"redundant-expr",
101+
"truthy-bool",
102+
]
103+
mypy_path = "src/"
104+
namespace_packages = false
105+
strict = true
106+
warn_unreachable = true
107+
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
108+
97109
[tool.pytest]
98110
ini_options.addopts = """\
99111
--strict-config
@@ -117,17 +129,5 @@ report.show_missing = true
117129
report.skip_covered = true
118130
report.skip_empty = true
119131

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-
132132
[tool.rstcheck]
133133
report_level = "ERROR"

0 commit comments

Comments
 (0)