clan-cli: Add py.typed to make mypy work when used as library in clan-vm-manager
Some checks failed
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m15s
checks / checks (pull_request) Failing after 4m15s

This commit is contained in:
Luis Hebendanz 2024-03-10 15:18:18 +07:00
parent d9f5e050d8
commit 167f7f4eb3
3 changed files with 1 additions and 4 deletions

View File

View File

@ -12,7 +12,7 @@ scripts = { clan = "clan_cli:main" }
exclude = ["clan_cli.nixpkgs*", "result"]
[tool.setuptools.package-data]
clan_cli = ["config/jsonschema/*", "webui/assets/**/*", "vms/mimetypes/**/*"]
clan_cli = ["py.typed", "config/jsonschema/*", "webui/assets/**/*", "vms/mimetypes/**/*"]
[tool.pytest.ini_options]
testpaths = "tests"

View File

@ -22,9 +22,6 @@ disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = "clan_cli.*"
ignore_missing_imports = true
[tool.ruff]
target-version = "py311"