Skip to content

Commit 1ee6488

Browse files
[pre-commit.ci] pre-commit autoupdate (#40)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ada4703 commit 1ee6488

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/python-jsonschema/check-jsonschema
8-
rev: 0.36.1
8+
rev: 0.37.0
99
hooks:
1010
- id: check-github-workflows
1111
args: ["--verbose"]
@@ -15,11 +15,11 @@ repos:
1515
- id: codespell
1616
additional_dependencies: ["tomli>=2.4"]
1717
- repo: https://github.com/tox-dev/pyproject-fmt
18-
rev: "v2.11.1"
18+
rev: "v2.16.2"
1919
hooks:
2020
- id: pyproject-fmt
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.14.14"
22+
rev: "v0.15.4"
2323
hooks:
2424
- id: ruff-format
2525
- id: ruff

pyproject.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -129,31 +129,20 @@ count = true
129129
[tool.pyproject-fmt]
130130
max_supported_python = "3.14"
131131

132-
[tool.pytest.ini_options]
133-
markers = [ "graalpy" ]
132+
[tool.pytest]
133+
ini_options.markers = [ "graalpy" ]
134134

135135
[tool.coverage]
136-
run.source = [
137-
"python_discovery",
138-
"tests",
139-
]
140-
run.dynamic_context = "test_function"
141136
run.branch = true
137+
run.dynamic_context = "test_function"
142138
run.parallel = true
143139
run.plugins = [
144140
"covdefaults",
145141
]
146-
report.fail_under = 100
147-
report.show_missing = true
148-
report.partial_branches = [
149-
"assert any\\(",
150-
]
151-
report.omit = [
152-
"src/python_discovery/_windows/*",
153-
"tests/windows/*",
142+
run.source = [
143+
"python_discovery",
144+
"tests",
154145
]
155-
html.show_contexts = true
156-
html.skip_covered = false
157146
paths.source = [
158147
"src",
159148
".tox*/*/lib/python*/site-packages",
@@ -162,6 +151,17 @@ paths.source = [
162151
"*/src",
163152
"*\\src",
164153
]
154+
report.fail_under = 100
155+
report.omit = [
156+
"src/python_discovery/_windows/*",
157+
"tests/windows/*",
158+
]
159+
report.partial_branches = [
160+
"assert any\\(",
161+
]
162+
report.show_missing = true
163+
html.show_contexts = true
164+
html.skip_covered = false
165165

166166
[tool.ty]
167167
src.exclude = [ "tests/windows/winreg_mock_values.py" ]

0 commit comments

Comments
 (0)