Skip to content

Commit 2731e1c

Browse files
[pre-commit.ci] pre-commit autoupdate (#130)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 294b312 commit 2731e1c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ repos:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
77
- repo: https://github.com/astral-sh/ruff-pre-commit
8-
rev: v0.15.6
8+
rev: v0.15.7
99
hooks:
1010
- id: ruff
1111
args: [--fix, --exit-non-zero-on-fix]
1212
- id: ruff
1313
args: [--preview, --select=CPY]
1414
- id: ruff-format
1515
- repo: https://github.com/biomejs/pre-commit
16-
rev: v2.4.7
16+
rev: v2.4.8
1717
hooks:
1818
- id: biome-format
1919
- repo: https://github.com/tox-dev/pyproject-fmt
20-
rev: v2.18.1
20+
rev: v2.20.0
2121
hooks:
2222
- id: pyproject-fmt
2323
- repo: https://github.com/pre-commit/mirrors-mypy

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ lint.flake8-copyright.notice-rgx = "SPDX-License-Identifier: MPL-2\\.0"
6666
lint.isort.known-first-party = [ "legacy_api_wrap" ]
6767
lint.isort.required-imports = [ "from __future__ import annotations" ]
6868

69+
[tool.mypy]
70+
strict = true
71+
explicit_package_bases = true
72+
mypy_path = "src"
73+
6974
[tool.pytest]
7075
strict = true
7176
addopts = [
@@ -84,8 +89,3 @@ run.omit = [ "src/testing/*", "tests/*" ]
8489
report.exclude_also = [ "if TYPE_CHECKING:" ]
8590
html.directory = "test-data/htmlcov"
8691
xml.output = "test-data/coverage.xml"
87-
88-
[tool.mypy]
89-
strict = true
90-
explicit_package_bases = true
91-
mypy_path = "src"

0 commit comments

Comments
 (0)