diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab4348a14..670c933e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.15.9 hooks: - id: ruff-check args: [--exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.3.1 hooks: - id: black @@ -26,22 +26,22 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.36.0 + rev: 0.37.1 hooks: - id: check-github-workflows - repo: https://github.com/rhysd/actionlint - rev: v1.7.10 + rev: v1.7.12 hooks: - id: actionlint - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.11.1 + rev: v2.21.0 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.24.1 + rev: v0.25 hooks: - id: validate-pyproject - repo: meta diff --git a/pyproject.toml b/pyproject.toml index a25a0b287..22c759520 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,6 @@ target_version = [ "py310" ] [tool.ruff] fix = true - lint.select = [ "C4", # flake8-comprehensions "E", # pycodestyle errors diff --git a/template.py b/template.py index a64debee7..1ff5cd13f 100644 --- a/template.py +++ b/template.py @@ -84,39 +84,29 @@
breakpoint()
list and dict for type annotationsmatch statement and write union types as X | Ytomllib in the stdlib, exception groups and except*