-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathmypy.ini
More file actions
49 lines (38 loc) · 1.05 KB
/
Copy pathmypy.ini
File metadata and controls
49 lines (38 loc) · 1.05 KB
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
[mypy]
python_version = 3.10
warn_return_any = False
warn_unused_configs = True
disallow_untyped_defs = False
disallow_incomplete_defs = False
check_untyped_defs = True
disallow_untyped_decorators = False
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = False
warn_no_return = True
warn_unreachable = True
strict_equality = True
# Ignore missing imports for external packages
ignore_missing_imports = True
# Don't check site-packages to avoid transformers internal errors
no_site_packages = True
# Disable import-untyped errors for function-level imports
disable_error_code = import-untyped
# Only check our source code
files = src/moondream_mcp
# Exclude problematic external modules
[mypy-transformers.*]
ignore_errors = True
ignore_missing_imports = True
[mypy-torch.*]
ignore_missing_imports = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-aiohttp.*]
ignore_missing_imports = True
[mypy-aiofiles.*]
ignore_missing_imports = True
[mypy-fastmcp.*]
ignore_missing_imports = True
[mypy-pyvips.*]
ignore_missing_imports = True