Skip to content

Commit

Permalink
feat: add white-space checks via pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ahans committed Apr 2, 2024
1 parent 42e59e3 commit 289aa10
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
exclude: 'test/(catch.hpp|tests-main.cpp)'

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.2
hooks:
Expand Down

0 comments on commit 289aa10

Please sign in to comment.