-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
41 lines (41 loc) · 991 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
default_language_version:
python: python3.9
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: isort
entry: poetry run isort
name: isort
language: system
types_or: [cython, pyi, python]
exclude: ".*__init__.py"
- repo: local
hooks:
- id: black
entry: poetry run black
name: black
language: system
types_or: [cython, pyi, python]
- repo: local
hooks:
- id: flake8
exclude: snakebids/tests
entry: poetry run flake8
language: system
name: flake8
types_or: [cython, pyi, python]
- repo: local
hooks:
- id: system
name: PyLint
entry: poetry run pylint
language: system
exclude: \._py\}\}$
types_or: [cython, pyi, python]