Skip to content

Commit daee9b1

Browse files
Merge pull request #1097 from DimitriPapadopoulos/pre-commit_5.0.0
pre-commit autoupdate
2 parents 99b2faa + c5d444e commit daee9b1

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: check-yaml
77
- id: debug-statements
88

99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.9.1
10+
rev: v0.9.7
1111
hooks:
1212
- id: ruff
1313
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
1414
- id: ruff-format
1515

1616
- repo: https://github.com/tox-dev/pyproject-fmt
17-
rev: 1.7.0
17+
rev: v1.8.0
1818
hooks:
1919
- id: pyproject-fmt
2020
exclude: docs/examples/
2121

2222
- repo: https://github.com/pre-commit/mirrors-mypy
23-
rev: v1.9.0
23+
rev: v1.15.0
2424
hooks:
2525
- id: mypy
2626
args: [--strict]
@@ -34,6 +34,6 @@ repos:
3434
- rich
3535

3636
- repo: https://github.com/scientific-python/cookie
37-
rev: 2024.04.23
37+
rev: 2025.01.22
3838
hooks:
3939
- id: sp-repo-review

nextgen/vcs-versioning/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=vcs_ve
4848
no-cov = "cov --no-cov {args}"
4949

5050
[[tool.hatch.envs.test.matrix]]
51-
python = ["38", "39", "310", "311"]
51+
python = [ "38", "39", "310", "311", "312", "313" ]
5252

5353
[tool.coverage.run]
5454
branch = true

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ version = { attr = "_own_version_helper.version"}
118118
[tool.setuptools_scm]
119119

120120
[tool.ruff]
121-
src = ["src"]
122121
lint.select = ["E", "F", "B", "UP", "YTT", "C", "DTZ", "PYI", "PT", "I", "FURB", "RUF"]
123122
lint.ignore = ["B028"]
124123
lint.preview = true

src/setuptools_scm/_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AlwaysStdErrHandler(logging.StreamHandler): # type: ignore[type-arg]
2121
def __init__(self) -> None:
2222
super().__init__(sys.stderr)
2323

24-
@property # type: ignore [override]
24+
@property
2525
def stream(self) -> IO[str]:
2626
return sys.stderr
2727

testing/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def test_only_version(version: str) -> None:
213213
def test_tag_regex1(tag: str, expected: str) -> None:
214214
if "+" in tag:
215215
# pytest bug wrt cardinality
216-
with pytest.warns(UserWarning):
216+
with pytest.warns(UserWarning): # noqa: PT030
217217
result = meta(tag, config=c)
218218
else:
219219
result = meta(tag, config=c)

0 commit comments

Comments
 (0)