Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -14,7 +14,7 @@ repos:

# Config file: .codespellrc
- repo: https://github.com/codespell-project/codespell
rev: v2.4.3
rev: 57b21406f092110c18776e39b0bda50d37c945c8 # frozen: v2.4.3
hooks:
- id: codespell
files: ^.*\.(cmake|cpp|cppm|hpp|txt|md|mds|json|js|in|yaml|yml|py|toml)$
Expand All @@ -25,15 +25,15 @@ repos:
# See also: https://github.com/ssciwr/clang-format-wheel
# Config file: .clang-format
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v23.1.5
rev: ce4bd7270237e95464b37d808b942f02785192c4 # frozen: v23.1.5
hooks:
- id: clang-format
types_or: [c++, c, json, javascript]
exclude: docs/TODO.json

# CMake linting and formatting
- repo: https://github.com/BlankSpruce/gersemi-pre-commit
rev: 0.29.2
rev: 28010ddd6016e1a0f7bd232acb6536ef996ae897 # frozen: 0.29.2
hooks:
- id: gersemi
name: CMake linting
Expand All @@ -49,20 +49,20 @@ repos:
# Config file: pyproject.toml
# first Python sort imports
- repo: https://github.com/pycqa/isort
rev: 10.0.0b2
rev: eb62da318ea543b82340f3d0a52bc0509c7e626e # frozen: 10.0.0b3
hooks:
- id: isort

# Config file: pyproject.toml
# second Python code formatting
- repo: https://github.com/psf/black
rev: 26.10.1
rev: 258e7dbf348bc23cb70b8cdf693481c04634ebcc # frozen: 26.10.1
hooks:
- id: black

# Beman Standard checking via beman-tidy
- repo: https://github.com/bemanproject/beman-tidy
rev: v0.5.4
rev: 9d6c974eba684ea4d3541d943cbaa6ce8a7a5bc9 # frozen: v0.5.4
hooks:
- id: beman-tidy
args: [".", "--verbose", "--require-all"]
Expand Down
Loading