Initial working version
This commit is contained in:
parent
34a0627e76
commit
b6886cb34a
61 changed files with 4475 additions and 6 deletions
40
pyproject.toml
Normal file
40
pyproject.toml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[project]
|
||||
name = "pve-vm-setup"
|
||||
version = "0.1.0"
|
||||
description = "Textual TUI for creating Proxmox VMs with live diagnostics."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"httpx>=0.27,<0.29",
|
||||
"python-dotenv>=1.0,<2.0",
|
||||
"textual>=0.63,<0.90",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8.3,<9.0",
|
||||
"pytest-asyncio>=0.24,<1.0",
|
||||
"ruff>=0.9,<1.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/pve_vm_setup"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
markers = [
|
||||
"live: hit a real Proxmox API endpoint",
|
||||
"live_create: create real Proxmox resources and clean them up",
|
||||
]
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "B", "UP"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue