Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: debug-statements

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.1
rev: v0.9.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.7.0
rev: v1.8.0
hooks:
- id: pyproject-fmt
exclude: docs/examples/

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.15.0
hooks:
- id: mypy
args: [--strict]
Expand All @@ -34,6 +34,6 @@ repos:
- rich

- repo: https://github.com/scientific-python/cookie
rev: 2024.04.23
rev: 2025.01.22
hooks:
- id: sp-repo-review
2 changes: 1 addition & 1 deletion nextgen/vcs-versioning/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=vcs_ve
no-cov = "cov --no-cov {args}"

[[tool.hatch.envs.test.matrix]]
python = ["38", "39", "310", "311"]
python = [ "38", "39", "310", "311", "312", "313" ]

[tool.coverage.run]
branch = true
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ version = { attr = "_own_version_helper.version"}
[tool.setuptools_scm]

[tool.ruff]
src = ["src"]
lint.select = ["E", "F", "B", "UP", "YTT", "C", "DTZ", "PYI", "PT", "I", "FURB", "RUF"]
lint.ignore = ["B028"]
lint.preview = true
Expand Down
2 changes: 1 addition & 1 deletion src/setuptools_scm/_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AlwaysStdErrHandler(logging.StreamHandler): # type: ignore[type-arg]
def __init___(self) -> None:
super().__init__(sys.stderr)

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

Expand Down
2 changes: 1 addition & 1 deletion testing/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def test_only_version(version: str) -> None:
def test_tag_regex1(tag: str, expected: str) -> None:
if "+" in tag:
# pytest bug wrt cardinality
with pytest.warns(UserWarning):
with pytest.warns(UserWarning): # noqa: PT030
result = meta(tag, config=c)
else:
result = meta(tag, config=c)
Expand Down
Loading