forked from optuna/optuna-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
35 lines (30 loc) · 787 Bytes
/
setup.cfg
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
# This section is for flake8.
[flake8]
ignore =
E203,
W503,
# Ignore H306 for `hacking` to be compatible with `isort`:
# https://docs.openstack.org/hacking/latest/user/hacking.html#imports
H306
max-line-length = 99
statistics = True
exclude = venv,build
# This section is for mypy.
[mypy]
# Options configure mypy's strict mode.
warn_unused_configs = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_redundant_casts = True
strict_equality = True
extra_checks = True
no_implicit_reexport = True
ignore_missing_imports = True
exclude = venv|build|docs
[mypy-optuna_integration.chainer.*]
ignore_errors = True
[mypy-tests.test_chainer.*]
ignore_errors = True