Skip to content

Commit 01f5256

Browse files
committed
Issue #294 Start experimenting with pre-commit for linting/code style
1 parent 251612a commit 01f5256

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-added-large-files
10+
- id: check-json
11+
- id: check-yaml
12+
- repo: https://github.com/akaihola/darker
13+
rev: 1.5.1
14+
hooks:
15+
- id: darker

0 commit comments

Comments
 (0)