generated from AutoResearch/autora-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
37 lines (37 loc) · 941 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
repos:
- repo: https://github.com/ambv/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args:
- "--filter-files"
- "--project=autora"
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
args:
- "--max-line-length=100"
- "--extend-ignore=E203"
- "--per-file-ignores=__init__.py:F401"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.5.1"
hooks:
- id: mypy
additional_dependencies: [types-requests,scipy,pytest]
language_version: python3.8
args:
- "--namespace-packages"
- "--explicit-package-bases"
- repo: https://github.com/srstevenson/nb-clean
rev: 2.4.0
hooks:
- id: nb-clean
args:
- --preserve-cell-outputs
default_language_version:
python: python3