forked from crypto-org-chain/chainlibpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mypy.ini
31 lines (27 loc) · 847 Bytes
/
.mypy.ini
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
[mypy]
# NOTE!
# exclude, files config does not work for https://github.com/pre-commit/mirrors-mypy configuration
exclude = (?x)(
example/
| chainlibpy/generated/
| chainlibpy/amino/ # TODO to fix type errors in this directory
) # leave two spaces before ")" to prevent parsing error
warn_unreachable = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
; Disabling incremental mode is required for `warn_unused_configs = True` to work
incremental = False
disallow_untyped_defs = True
check_untyped_defs = True
strict_equality = True
implicit_reexport = False
no_implicit_optional = True
[mypy-chainlibpy.generated.*]
ignore_missing_imports = True
ignore_errors = True
allow_untyped_globals = True
[mypy-pystarport.*]
ignore_missing_imports = True
[mypy-tests.*]
disallow_untyped_defs = False