Skip to content

Commit 5a899a0

Browse files
committed
add pre-commit
1 parent 63beb43 commit 5a899a0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.pre-commit-config.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
exclude: examples/data/|.*\.css|.*\.json|.*\.geojson|.*\.html
2+
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.3.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: check-ast
9+
- id: debug-statements
10+
- id: end-of-file-fixer
11+
- id: check-docstring-first
12+
- id: check-added-large-files
13+
- id: requirements-txt-fixer
14+
- id: file-contents-sorter
15+
files: requirements-dev.txt
16+
17+
- repo: https://github.com/PyCQA/flake8
18+
rev: 5.0.4
19+
hooks:
20+
- id: flake8
21+
exclude: docs/conf.py
22+
args: [--max-line-length=120]

0 commit comments

Comments
 (0)