mirror of
https://github.com/samjage/metro-warden.git
synced 2026-06-06 02:50:42 +00:00
74 lines
1.9 KiB
TOML
74 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.backends.legacy:build"
|
|
|
|
[project]
|
|
name = "metro-warden"
|
|
version = "0.1.0"
|
|
description = "Industrial dark metro map Network Operations Centre TUI"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = { text = "MIT" }
|
|
|
|
keywords = ["network", "tui", "noc", "monitoring", "textual"]
|
|
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Environment :: Console",
|
|
"Intended Audience :: System Administrators",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: System :: Networking :: Monitoring",
|
|
"Topic :: System :: Systems Administration",
|
|
]
|
|
|
|
dependencies = [
|
|
"textual>=0.47.0",
|
|
"psutil>=5.9.0",
|
|
"toml>=0.10.2",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
"textual-dev>=0.47.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
metro-warden = "main:main"
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/example/metro-warden"
|
|
|
|
# ── Tool configs ─────────────────────────────────────────────────────────
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["core*", "plugins*", "ui*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
log_cli = true
|
|
log_cli_level = "DEBUG"
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.coverage.run]
|
|
source = ["core", "plugins", "ui"]
|
|
omit = ["tests/*", "main.py"]
|
|
|
|
[tool.coverage.report]
|
|
show_missing = true
|
|
skip_covered = false
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
select = ["E", "F", "W", "I", "UP"]
|
|
ignore = ["E501"]
|