forked from PKSHATechnology-Research/camphr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
38 lines (33 loc) · 854 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
default_language_version:
python: python3.7
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: check-added-large-files
args: ['--maxkb=1000']
- id: check-merge-conflict
- id: check-symlinks
- id: flake8
- repo: [email protected]:humitos/mirrors-autoflake.git
rev: v1.1
hooks:
- id: autoflake
exclude: "__init__.py"
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
- repo: local
hooks:
- id: isort
name: isort
language: system
entry: poetry run isort
types: [file, python]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.761' # Use the sha / tag you want to point at
hooks:
- id: mypy
exclude: "docs/"