-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
52 lines (41 loc) · 1021 Bytes
/
mypy.ini
File metadata and controls
52 lines (41 loc) · 1021 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[mypy]
# Python version requirement
python_version = 3.12
# Strict type checking settings
strict = True
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
disallow_any_unimported = False
no_implicit_optional = True
check_untyped_defs = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_unreachable = True
# Import discovery
namespace_packages = True
explicit_package_bases = True
mypy_path = src
# Per-module options for third-party libraries without stubs
[mypy-web3.*]
ignore_missing_imports = True
[mypy-eth_account.*]
ignore_missing_imports = True
[mypy-sapphirepy.*]
ignore_missing_imports = True
[mypy-cbor2.*]
ignore_missing_imports = True
[mypy-httpx.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-pytest_asyncio.*]
ignore_missing_imports = True
[mypy-dotenv.*]
ignore_missing_imports = True
# Output options
show_error_context = True
show_column_numbers = True
show_error_codes = True
pretty = True