forked from automl/NASLib
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (33 loc) · 880 Bytes
/
.pre-commit-config.yaml
File metadata and controls
34 lines (33 loc) · 880 Bytes
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
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.761
hooks:
- id: mypy
args: [--show-error-codes,
--warn-redundant-casts,
--warn-return-any,
--warn-unreachable,
]
files: naslib/.*
exclude:
- naslib/examples/.*
- naslib/docs/.*
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
additional_dependencies:
- flake8-print==3.1.4
- flake8-import-order
name: flake8 naslib
files: naslib/.*
exclude:
- naslib/examples/.*
- naslib/docs/.*
- naslib/predictors/.*
- id: flake8
additional_dependencies:
- flake8-print==3.1.4
- flake8-import-order
name: flake8 test
files: tests/.*