Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Feb 18, 2022
1 parent 1683e12 commit 3033b6d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,20 @@ repos:
language: python
types_or: [c, c++, python]
stages: [commit]
- id: end-of-file-fixer
name: end-of-file-fixer
entry: end-of-file-fixer
language: python
types_or: [c, c++, python]
- id: splint
name: Splint
entry: splint -f checker/cxcp.lcl
types_or: [c, c++]
stages: [commit]
language: system
types_or: [c, c++, python]
exclude: ".*py"
# - id: end-of-file-fixer
# name: end-of-file-fixer
# entry: end-of-file-fixer
# language: python
# types_or: [c, c++, python]
# stages: [commit]
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: trailing-whitespace-fixer
Expand Down
7 changes: 7 additions & 0 deletions checker/cxcp.lcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+posixstrictlib
-preproc

-I../../flsemu
-I../../inc
-I.

0 comments on commit 3033b6d

Please sign in to comment.