Skip to content

Commit f055eb9

Browse files
authored
13 pre commit (#14)
* track python, cpp, and shell changes w/ formating and shellcheck
1 parent 8ec54c0 commit f055eb9

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 25.1.0
4+
hooks:
5+
- id: black
6+
7+
- repo: https://github.com/PyCQA/isort
8+
rev: 6.0.1
9+
hooks:
10+
- id: isort
11+
- repo: https://github.com/pre-commit/mirrors-clang-format
12+
rev: v20.1.3
13+
hooks:
14+
- id: clang-format
15+
args: [--style=file]
16+
files: \.(c|cpp|h|hpp)$
17+
- repo: https://github.com/koalaman/shellcheck-precommit
18+
rev: v0.10.0
19+
hooks:
20+
- id: shellcheck

0 commit comments

Comments
 (0)