This is the first commit of 6 commits mentioned in #274, which features 1. Refactor of `Class Net` to support any form of MLP. 2. Enable type check in utils.network. 3. Relative change in docs/test/examples. 4. Move atari-related network to examples/atari/atari_network.py Co-authored-by: Trinkle23897 <trinkle23897@gmail.com>
26 lines
562 B
INI
26 lines
562 B
INI
[mypy]
|
|
files = tianshou/**/*.py
|
|
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
|
|
|
|
[doc8]
|
|
max-line-length = 1000
|