forked from Quantco/glum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
43 lines (42 loc) · 1.17 KB
/
.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
42
repos:
- repo: https://github.com/Quantco/pre-commit-mirrors-black
rev: 22.3.0
hooks:
- id: black-conda
args:
- --safe
- --target-version=py36
- repo: https://github.com/Quantco/pre-commit-mirrors-flake8
rev: v3.9.2
hooks:
- id: flake8-conda
additional_dependencies: [
-c,
conda-forge,
flake8-bugbear=21.4.3,
flake8-builtins=1.5.3,
flake8-comprehensions=3.5.0,
flake8-docstrings=1.6.0,
flake8-print=4.0.0,
pep8-naming=0.11.1,
]
exclude: ^src/glum_benchmarks/orig_sklearn_fork/
- repo: https://github.com/Quantco/pre-commit-mirrors-isort
rev: 5.10.1
hooks:
- id: isort-conda
additional_dependencies: [toml]
- repo: https://github.com/Quantco/pre-commit-mirrors-mypy
rev: "0.942"
hooks:
- id: mypy-conda
args:
- --check-untyped-defs
- --ignore-missing-imports
- --namespace-packages
exclude: ^tests/
additional_dependencies: [-c, conda-forge, types-setuptools, attrs]
- repo: https://github.com/Quantco/pre-commit-mirrors-pyupgrade
rev: 2.31.1
hooks:
- id: pyupgrade-conda