-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmypy.ini
46 lines (32 loc) · 909 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
35
36
37
38
39
40
41
42
43
44
45
46
[mypy]
plugins =
[mypy-flask_wtf.*]
ignore_missing_imports = True
[mypy-flask_login.*]
ignore_missing_imports = True
[mypy-flask_mail.*]
ignore_missing_imports = True
[mypy-flask_babel.*]
ignore_missing_imports = True
[mypy-flask_dance.*]
ignore_missing_imports = True
[mypy-flask_admin.*]
ignore_missing_imports = True
[mypy-apscheduler.*]
ignore_missing_imports = True
# Allow untyped function definitions and calls
disallow_untyped_defs = False
disallow_incomplete_defs = False
# Suppress specific error codes
disable_error_code = import
# Display errors in functions without type annotations
check_untyped_defs = True
# Disallow implicit Optional
no_implicit_optional = True
# Show column numbers in error messages
show_column_numbers = True
# Show error codes in error messages
show_error_codes = True
# Strict mode (optional)
# This can be enabled for stricter type checking
strict = True