Skip to content

Commit e9bf8dd

Browse files
committed
Add pre-commit config
1 parent df738f5 commit e9bf8dd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.4.0
4+
hooks:
5+
- id: check-docstring-first
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- id: check-yaml # checks for correct yaml syntax for github actions ex.
9+
- repo: https://github.com/charliermarsh/ruff-pre-commit
10+
rev: v0.0.290
11+
hooks:
12+
- id: ruff
13+
- repo: https://github.com/psf/black
14+
rev: 23.9.1
15+
hooks:
16+
- id: black

0 commit comments

Comments
 (0)