Skip to content

Commit cedafaa

Browse files
authored
Merge pull request #190 from h-mayorquin/add_pre_commit_config
Add pre-commit configuration file
2 parents 96e67da + ae02cfa commit cedafaa

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.pre-commit-config.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.4.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- repo: https://github.com/psf/black
9+
rev: 23.3.0
10+
hooks:
11+
- id: black
12+
files: ^src/

0 commit comments

Comments
 (0)