forked from IBM/aihwkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
32 lines (27 loc) · 666 Bytes
/
setup.cfg
File metadata and controls
32 lines (27 loc) · 666 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
[pycodestyle]
max-line-length = 100
exclude = *_pb2.py
[pydocstyle]
convention = google
add_ignore = D105,D107,D205,D400,D415
add_select = D204,D215,D401,D404
match-dir = ^(?!helpers|definitions).*
[mypy]
python_version = 3.7
namespace_packages = True
ignore_missing_imports = True
warn_redundant_casts = True
warn_unreachable = True
strict_equality = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
strict_optional = True
show_none_errors = True
[mypy-torch.*]
follow_imports = skip
follow_imports_for_stubs = True
[mypy-aihwkit.cloud.converter.definitions.*]
ignore_errors = True
[flake8]
max-line-length = 100