Skip to content

Commit a4a58e1

Browse files
[pre-commit.ci] pre-commit autoupdate (#709)
1 parent 85af436 commit a4a58e1

File tree

2 files changed

+16
-23
lines changed

2 files changed

+16
-23
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 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: 672d45b4e77223b8fcf1b4b8560bf987f0839902 # frozen: v1
20+
rev: 5745f2a8dd91cd7b684680e2e10a2b388ba6e5cf # frozen: v1
2121
hooks:
2222
- id: typos
2323
- repo: https://github.com/tox-dev/pyproject-fmt
24-
rev: 2a892e1706c9e0e1f853be3f34a9e04f0d5c86d9 # frozen: v2.12.1
24+
rev: 51905ea0435df7e0b1dacf8108081e6a14b620bd # frozen: v2.16.2
2525
hooks:
2626
- id: pyproject-fmt
2727
- repo: https://github.com/tox-dev/tox-ini-fmt
@@ -41,7 +41,7 @@ repos:
4141
additional_dependencies:
4242
- black==25.1.0
4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: 45ef068da5f21267bb2a7ec4a623092959f09ce5 # frozen: v0.14.14
44+
rev: a27a2e47c7751b639d2b5badf0ef6ff11fee893f # frozen: v0.15.4
4545
hooks:
4646
- id: ruff-check
4747
args: [ --fix ]

pyproject.toml

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

97-
[tool.pytest.ini_options]
98-
addopts = """\
97+
[tool.pytest]
98+
ini_options.addopts = """\
9999
--strict-config
100100
--strict-markers
101101
"""
102-
xfail_strict = true
102+
ini_options.xfail_strict = true
103103

104-
[tool.coverage.paths]
105-
source = [
106-
"src",
107-
".tox/**/site-packages",
108-
]
109-
110-
[tool.coverage.report]
111-
show_missing = true
112-
113-
[tool.coverage.run]
114-
branch = true
115-
parallel = true
116-
source = [
104+
[tool.coverage]
105+
run.branch = true
106+
run.parallel = true
107+
run.source = [
117108
"pytest_randomly",
118109
"tests",
119110
]
111+
paths.source = [
112+
"src",
113+
".tox/**/site-packages",
114+
]
115+
report.show_missing = true
120116

121117
[tool.mypy]
122118
enable_error_code = [
@@ -128,10 +124,7 @@ mypy_path = "src/"
128124
namespace_packages = false
129125
strict = true
130126
warn_unreachable = true
131-
132-
[[tool.mypy.overrides]]
133-
module = "tests.*"
134-
allow_untyped_defs = true
127+
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
135128

136129
[tool.rstcheck]
137130
report_level = "ERROR"

0 commit comments

Comments
 (0)