forked from automl/SMAC3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 1.12 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
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.761
hooks:
- id: mypy
# We would like to have the following options set,
# but for now we have to use the ones above to get started
# --ignore-missing-imports --strict"
# --disallow-any-unimported"
# --disallow-any-expr"
# --disallow-any-decorated"
# --disallow-any-explicit"
# --disallow-any-generics"
# Add the following once the scenario is removed from the main code or typed
# https://mypy.readthedocs.io/en/stable/command_line.html#configuring-warnings
# --warn-unused-ignores"
args: [--show-error-codes, --ignore-missing-imports, --disallow-untyped-decorators, --disallow-incomplete-defs, --disallow-untyped-defs, --follow-imports, skip]
name: mypy SMAC
files: smac/.*
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
name: flake8 SMAC
files: smac
- id: flake8
name: flake8 test
files: test
- id: flake8
name: flake8 examples
files: examples