-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mypy.ini
30 lines (24 loc) · 852 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 config file reference: https://mypy.readthedocs.io/en/stable/config_file.html
[mypy]
files = .
show_column_numbers = True
# Everything should be typed.
disallow_untyped_defs = True
# Extra misc warnings.
warn_unreachable = True
warn_return_any = True
# Extra warnings for unnecessary configs/ignores/casts.
warn_unused_configs = True
warn_unused_ignores = True
warn_redundant_casts = True
# Facilitate more specific ignores: "# type: ignore[error-code]"
# see: https://mypy.readthedocs.io/en/stable/error_codes.html?highlight=ignore#silencing-errors-based-on-error-codes
show_error_codes = True
# Library ignores.
# See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
[mypy-dataclasses_json]
ignore_missing_imports = True
[mypy-drawSvg]
ignore_missing_imports = True
[mypy-matplotlib]
ignore_missing_imports = True