diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 584044f8..d2383b6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,12 +16,12 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. TODO: remove flake8 in future - rev: "v0.1.1" + rev: "v0.3.3" hooks: - id: ruff args: [--fix] - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 24.3.0 hooks: - id: black name: black @@ -89,7 +89,7 @@ repos: ] files: \.(c|h|cpp)$ - repo: https://github.com/pycqa/flake8 - rev: "6.1.0" # pick a git hash / tag to point to + rev: "7.0.0" # pick a git hash / tag to point to hooks: - id: flake8 name: flake8 @@ -99,7 +99,7 @@ repos: require_serial: true additional_dependencies: [Flake8-pyproject] - repo: https://github.com/PyCQA/autoflake - rev: v2.2.1 + rev: v2.3.1 hooks: - id: autoflake name: autoflake @@ -113,7 +113,7 @@ repos: - "--remove-duplicate-keys" - "--remove-unused-variables" - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.15.1 hooks: - id: pyupgrade name: pyupgrade @@ -123,11 +123,11 @@ repos: types: [python] args: [--py38-plus] - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort (python) @@ -145,7 +145,7 @@ repos: types: [file] files: (\.cmake|CMakeLists.txt)(.in)?$ - repo: https://github.com/sirosen/check-jsonschema - rev: 0.27.0 + rev: 0.28.0 hooks: - id: check-github-actions - id: check-github-workflows