-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
35 lines (28 loc) · 810 Bytes
/
mypy.ini
File metadata and controls
35 lines (28 loc) · 810 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
# Global options:
[mypy]
python_version = 3.6
# Warn if config options are invalid
warn_unused_configs = True
pretty = True
follow_imports = silent
ignore_missing_imports = True
local_partial_types = False
check_untyped_defs = True
strict_optional = True
# not every def has to have a type comment
allow_untyped_defs = True
allow_untyped_globals = False
# Generate reports, the html report is really helpful
# it highlights every line and its type checking status
# html_report = .mypy_reports
#txt_report = .mypy_reports
# Enable stricter options for specific modules/files
# Module based options
[mypy-rll_server.*]
#allow_untyped_defs = False
ignore_missing_imports = False
follow_imports = normal
[mypy-rll_worker.*]
#allow_untyped_defs = False
ignore_missing_imports = False
follow_imports = normal