-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathmypy.ini
More file actions
91 lines (70 loc) · 1.93 KB
/
Copy pathmypy.ini
File metadata and controls
91 lines (70 loc) · 1.93 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[mypy]
# Mypy configuration for qiskit-mcp-servers monorepo
# https://mypy.readthedocs.io/en/stable/config_file.html
# Python version
python_version = 3.10
# Strict mode settings
strict = True
warn_return_any = True
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_unreachable = True
strict_equality = True
strict_concatenate = True
# Disallow dynamic typing
disallow_any_unimported = False
disallow_any_expr = False
disallow_any_decorated = False
disallow_any_explicit = False
disallow_any_generics = True
disallow_subclassing_any = True
# Disallow untyped definitions and calls
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_decorators = True
check_untyped_defs = True
# None and Optional handling
no_implicit_optional = True
strict_optional = True
# Error output
show_error_context = True
show_column_numbers = True
show_error_codes = True
pretty = True
color_output = True
error_summary = True
# Incremental mode
incremental = True
cache_dir = .mypy_cache
# Paths to check
files = qiskit-ibm-runtime-mcp-server/src,qiskit-ibm-transpiler-mcp-server/src,qiskit-mcp-server/src,qiskit-gym-mcp-server/src
# Exclude patterns
exclude = (^\.venv/|^build/|^dist/|/tests/)
# Per-module options for third-party libraries without stubs
[mypy-fastmcp.*]
ignore_missing_imports = True
[mypy-qiskit_ibm_runtime.*]
ignore_missing_imports = True
[mypy-nest_asyncio.*]
ignore_missing_imports = True
[mypy-httpx.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-pytest_asyncio.*]
ignore_missing_imports = True
[mypy-pytest_mock.*]
ignore_missing_imports = True
[mypy-dotenv.*]
ignore_missing_imports = True
[mypy-qiskit_ibm_transpiler.*]
ignore_missing_imports = True
[mypy-qiskit.*]
ignore_missing_imports = True
[mypy-qiskit_gym.*]
ignore_missing_imports = True
[mypy-tensorboard.*]
ignore_missing_imports = True