diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1daf843..e055032 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.3.0" + rev: "v4.6.0" hooks: - id: check-json - id: check-toml @@ -12,34 +12,34 @@ repos: # isort to sort imports - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort name: isort (python) # Upgrade syntax to newer versions - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py37-plus] # Format with black - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 24.3.0 hooks: - id: black # Format docs - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.16.0 hooks: - id: blacken-docs additional_dependencies: [black>=21.12b0] # Flake8 for linting, line-length adjusted to match Black default - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: [flake8-builtins] @@ -49,6 +49,6 @@ repos: # Type enforcement for Python - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v1.9.0 hooks: - id: mypy