-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
32 lines (27 loc) · 1.43 KB
/
mypy.ini
File metadata and controls
32 lines (27 loc) · 1.43 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
[mypy]
python_version = 3.13
# The canonical Python package for this monorepo currently lives under
# engine/codeflow_engine. The repository also contains templates, docs, JS apps,
# and other non-Python assets that should not be recursively treated as Python
# packages when the editor runs `mypy .` from the repo root.
namespace_packages = True
explicit_package_bases = True
mypy_path = engine
# Keep recursive discovery away from non-source trees and template folders that
# intentionally use hyphenated names such as `example-hybrid`. The repo-root
# `codeflow_engine/` directory is a development shim only; the canonical source
# package that should be type-checked lives under `engine/codeflow_engine`.
exclude = ^(\.git|\.venv|\.pytest_cache|\.mypy_cache|dist|docs|desktop|website|vscode-extension|orchestration|tools|scripts|codeflow_engine|engine[/\\]templates|engine[/\\]tests|engine[/\\]alembic)([/\\]|$)
# Default to the canonical engine package when mypy is launched from the repo
# root by editor integrations.
packages = codeflow_engine
# Keep the editor integration permissive for this mixed monorepo. The goal is
# to surface actionable project issues, not fail on optional third-party stubs
# or legacy wrapper patterns.
ignore_missing_imports = True
allow_redefinition = True
disable_error_code = import-untyped,var-annotated,no-redef,annotation-unchecked
warn_unused_configs = True
show_error_context = True
pretty = False
color_output = False