Skip to content
Open
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
13 changes: 9 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
require_serial: true

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -24,15 +24,20 @@ repos:
- id: detect-private-key

- repo: https://github.com/rtts/djhtml
rev: "3.0.8"
rev: 8577ec017145d76a0b954ebb7cb3169d4303014c # v3.0.8
hooks:
- id: djhtml
entry: djhtml --tabwidth 2 # Use a tabwidth of 2 for HTML files
files: ^templates/.*\.html$ # Indent only HTML files in template directories

- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.6
- repo: local
hooks:
- id: shellcheck
name: shellcheck
description: Test shell scripts with shellcheck
entry: shellcheck
language: system
types: [shell]
args: [-e, SC1091]

exclude: coding_systems/snomedct/parser_utils/