diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1daf843..1c37f1c 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.4.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.12.0 hooks: - id: isort name: isort (python) # Upgrade syntax to newer versions - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.10.1 hooks: - id: pyupgrade args: [--py37-plus] # Format with black - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 23.9.1 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: 6.1.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.5.1 hooks: - id: mypy