Skip to content

Commit

Permalink
Update pre-commit tools
Browse files Browse the repository at this point in the history
And make tailing whitespace ignore jade template files
  • Loading branch information
fauust committed Oct 19, 2023
1 parent 784aaf8 commit b812c06
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
exclude: "dockerfiles|ci_build_images/qpress|cross-reference/crossreference/cr/static/cr/font-awesome"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -18,13 +18,17 @@ repos:
- id: trailing-whitespace
name: Check trailing whitespace
args: [--markdown-linebreak-ext=md]
exclude: |
(?x)^(
master-web/templates/home.jade
)$
# - repo: https://gitlab.com/pycqa/flake8.git
# rev: 3.9.2
# hooks:
# - id: flake8
# name: Check python (flake8)
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
rev: v1.32.0
hooks:
- id: yamllint
name: Check yaml files (yamllint)
Expand All @@ -38,12 +42,12 @@ repos:
# name: Check shell style (shfmt)
# args: ["-d", "-i", "2", "-ci"]
- repo: https://github.com/markdownlint/markdownlint
rev: v0.11.0
rev: v0.12.0
hooks:
- id: markdownlint
name: Check for markdown lint (mdl)
- repo: https://github.com/codespell-project/codespell
rev: v2.2.1
rev: v2.2.6
hooks:
- id: codespell
name: Checks for common misspellings in text files
Expand Down

0 comments on commit b812c06

Please sign in to comment.