diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 38491578f0640a6a75e868a230bfb07a34b04038..601377ae0e96b931164f5544fb02432cd6a4a231 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,28 +18,33 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - - repo: https://github.com/kynan/nbstripout - rev: 0.8.0 + - repo: https://github.com/cheshirekow/cmake-format-precommit + rev: v0.6.13 hooks: - - id: nbstripout - types_or: [jupyter] + - id: cmake-format + types: [file] + files: (\.cmake|CMakeLists.txt)(.in)?$ - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v19.1.3 + rev: v19.1.4 hooks: - id: clang-format types_or: [c++, c, cuda] + - repo: https://github.com/kynan/nbstripout + rev: 0.8.1 + hooks: + - id: nbstripout + types_or: [jupyter] + - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.7.4 # Use the latest version + rev: v0.8.0 # Use the latest version hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - - repo: https://github.com/cheshirekow/cmake-format-precommit - rev: v0.6.13 + - repo: https://github.com/RobertCraigie/pyright-python + rev: v1.1.389 hooks: - - id: cmake-format - types: [file] - files: (\.cmake|CMakeLists.txt)(.in)?$ + - id: pyright