-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
34 lines (25 loc) · 894 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
31
32
33
34
[mypy]
; Force all code to be typed.
; If required this flag can be set to False localy
; or correspondent errors be ignored.
disallow_untyped_defs = True
; Type-checks the interior of functions without type annotations.
check_untyped_defs = True
; Forces all possible None variables to be declared with Optional.
no_implicit_optional = True
; Shows a warning whenever a Any value is returned from a non-Any typed function.
warn_return_any = True
; Display error/warning codes to help development.
show_error_codes = True
warn_unused_ignores = True
; Package 'docker' is not compliant with PEP 561.
[mypy-docker]
ignore_missing_imports = True
; Package 'roslibpy' is not compliant with PEP 561.
[mypy-roslibpy]
ignore_missing_imports = True
; Package 'hpl' is not compliant with PEP 561.
[mypy-hpl.parser]
ignore_missing_imports = True
[mypy-hpl.visitor]
ignore_missing_imports = True