Skip to content

Commit 153ef57

Browse files
committed
Add pre-commit config
1 parent 98acbf1 commit 153ef57

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-merge-conflict # prevent committing files with merge conflicts
6+
- id: flake8 # checks for flake8 errors
7+
- repo: https://github.com/psf/black
8+
rev: 26.5.1
9+
hooks:
10+
- id: black
11+
language_version: python3

0 commit comments

Comments
 (0)