-
Notifications
You must be signed in to change notification settings - Fork 97
/
mypy.ini
55 lines (41 loc) · 1.42 KB
/
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
47
48
49
50
51
52
53
54
55
[mypy]
# https://mypy.readthedocs.io/en/stable/config_file.html
warn_unused_configs = True
disallow_any_explicit = True
disallow_untyped_defs = True
warn_redundant_casts = True
namespace_packages = True
# Overrides for missing imports
# https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
# The following packages are PEP-561 compliant, but including them
# surfaces typing errors and as such these should be fixed in independent changes
[mypy-pandas]
ignore_missing_imports = True
[mypy-pydantic]
ignore_missing_imports = True
follow_imports = skip
[mypy-git]
ignore_missing_imports = True
# The following packages don't appear to have an officially supported PEP-561 compliant configuration yet
[mypy-databricks]
ignore_missing_imports = True
[mypy-dsi_pydantic_shim]
ignore_missing_imports = True
[mypy-google.*]
ignore_missing_imports = True
follow_imports = skip
[mypy-graphviz]
ignore_missing_imports = True
# Skip following imports for `rapidfuzz.process` as it has optional dependencies.
[mypy-rapidfuzz.process.*]
follow_imports = skip
# The following packages are not currently using type hints
[mypy-halo]
ignore_missing_imports = True
[mypy-update_checker]
ignore_missing_imports = True
# Seems to be pulled in from pytest:
# ../site-packages/_pytest/compat.py:20: error: Skipping analyzing "py": module is installed, but missing library
# stubs or py.typed marker
[mypy-py]
ignore_missing_imports = True