diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7022ebc..d400173 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.9 + rev: v0.17.3 hooks: - id: ruff-check types_or: [python, pyproject] @@ -32,7 +32,7 @@ repos: - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v2.3.1 + rev: v2.4.0 hooks: - id: mypy name: Check Python types diff --git a/_scripts/sync-releases.py b/_scripts/sync-releases.py index e945621..220ebdd 100755 --- a/_scripts/sync-releases.py +++ b/_scripts/sync-releases.py @@ -112,7 +112,7 @@ def main() -> None: if version != prev['version']: cur = prev.copy() cur['version'] = version - cur['date'] = date.today().strftime('%Y-%m-%d') # noqa: DTZ011 + cur['date'] = date.today().strftime('%Y-%m-%d') releases[proj.id].insert(0, cur) # sync docs