2023-11-23 13:37:05 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools"]
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
2023-12-04 15:56:42 +00:00
|
|
|
|
|
|
|
|
2023-11-23 13:37:05 +00:00
|
|
|
[project]
|
|
|
|
name = "clan-vm-manager"
|
|
|
|
dynamic = ["version"]
|
|
|
|
scripts = { clan-vm-manager = "clan_vm_manager:main" }
|
|
|
|
|
2024-03-01 11:15:44 +00:00
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
exclude = ["result"]
|
|
|
|
|
2023-11-23 13:37:05 +00:00
|
|
|
[tool.setuptools.package-data]
|
2023-12-04 15:56:42 +00:00
|
|
|
clan_vm_manager = ["**/assets/*"]
|
2023-11-23 13:37:05 +00:00
|
|
|
|
|
|
|
[tool.mypy]
|
2023-11-29 11:38:00 +00:00
|
|
|
python_version = "3.11"
|
2023-11-23 13:37:05 +00:00
|
|
|
warn_redundant_casts = true
|
|
|
|
disallow_untyped_calls = true
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
no_implicit_optional = true
|
|
|
|
|
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
module = "gi.*"
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
2023-12-04 13:29:05 +00:00
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
module = "clan_cli.*"
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
2023-11-23 13:37:05 +00:00
|
|
|
[tool.ruff]
|
2023-11-29 11:38:00 +00:00
|
|
|
target-version = "py311"
|
2023-11-23 13:37:05 +00:00
|
|
|
line-length = 88
|
2023-12-06 16:10:15 +00:00
|
|
|
select = [ "E", "F", "I", "U", "N", "RUF", "ANN", "A" ]
|
2023-11-30 13:13:32 +00:00
|
|
|
ignore = ["E501", "E402", "N802", "ANN101", "ANN401", "A003"]
|