-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.cfg
44 lines (41 loc) · 1.32 KB
/
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
35
36
37
38
39
40
41
42
43
[flake8]
# automatically generated by pysen
# pysen ignores and overwrites any modifications
# e203: black treats : as a binary operator
# e231: black doesn't put a space after ,
# e501: black may exceed the line-length to follow other style rules
# e701: black will collapse ... only functions etc. to a single line
# e704: black will collapse ... only functions etc. to a single line
# w503 or w504: either one needs to be disabled to select w error codes
ignore = E203,E231,E501,E701,E704,W503
max-line-length = 80
select = B,B950,C,E,F,W
[mypy]
# automatically generated by pysen
# pysen ignores and overwrites any modifications
check_untyped_defs = True
disallow_any_decorated = False
disallow_any_generics = False
disallow_any_unimported = False
disallow_incomplete_defs = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_decorators = False
disallow_untyped_defs = True
ignore_errors = False
ignore_missing_imports = True
mypy_path = stubs
no_implicit_optional = True
python_version = 3.9
show_error_codes = True
strict_equality = True
strict_optional = True
warn_redundant_casts = True
warn_return_any = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = False
[mypy-torch.*]
# automatically generated by pysen
# pysen ignores and overwrites any modifications
ignore_errors = True