forked from liuzuxin/FSRL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
58 lines (52 loc) · 1.07 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[flake8]
exclude =
.git,
log,
__pycache__,
docs,
build,
dist,
*cfg.py,
*.egg-info
max-line-length = 89
ignore = B305,W504,B006,B008,B024,W503,B027,B028,E731,E266,F401,W293
[coverage:run]
omit =
fsrl/config/*
fsrl/utils/*
fsrl/data/*
[yapf]
based_on_style = pep8
dedent_closing_brackets = true
column_limit = 89
blank_line_before_nested_class_or_def = true
[isort]
profile = black
multi_line_output = 3
line_length = 89
known_first_party = fsrl
known_third_party = wandb
[mypy]
files = fsrl/**/*.py
exclude = (fsrl/utils/.*|fsrl/agent/.*)
allow_redefinition = True
check_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_defs = True
ignore_missing_imports = True
no_implicit_optional = True
pretty = True
show_error_codes = True
show_error_context = True
show_traceback = True
strict_equality = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = True
[pydocstyle]
ignore = D100,D102,D104,D105,D107,D203,D213,D401,D402,D103
[doc8]
max-line-length = 1000