Пример дерева:
Код: Выделить всё
.
├── catalog
│ ├── __init__.py
│ └── k8s_pvc
│ ├── implementation.py
│ └── integration.py
├── executor
│ ├── __init__.py
│ ├── argo
│ │ ├── implementation.py
│ │ └── integration.py
│ └── k8s_job
│ ├── implementation.py
│ └── integration.py
├── experiment_tracker
│ ├── __init__.py
│ └── mlflow
│ └── implementation.py
├── run_log_store
│ ├── __init__.py
│ ├── chunked_k8s_pvc
│ │ ├── implementation.py
│ │ └── integration.py
│ └── k8s_pvc
│ ├── implementation.py
│ └── integration.py
└── secrets
Код: Выделить всё
magnus/extensions/executor/argo/implementation.py: error: Duplicate module named "implementation" (also at "magnus/extensions/catalog/k8s_pvc/implementation.py")
magnus/extensions/executor/argo/implementation.py: note: Are you missing an __init__.py? Alternatively, consider using --exclude to avoid checking one of them.
Код: Выделить всё
[mypy]
implicit_optional = True
ignore_missing_imports = True
plugins = pydantic.mypy
show_error_codes = True
follow_imports = silent
warn_redundant_casts = True
warn_unused_ignores = True
check_untyped_defs = True
implicit_reexport = True
Подробнее здесь: https://stackoverflow.com/questions/770 ... le-with-th
Мобильная версия