[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "hytop" dynamic = ["version"] description = "Lightweight monitoring toolkit for Hygon DCU clusters" readme = "README.md" license = { text = "MIT" } authors = [{ name = "alephpiece", email = "wangan.cs@gmail.com" }] requires-python = ">=3.10" dependencies = ["rich>=14", "typer>=0.23"] keywords = ["monitoring", "gpu", "dcu", "hygon", "hytop"] classifiers = [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Operating System :: POSIX :: Linux", "Environment :: Console", ] [project.urls] Homepage = "https://github.com/alephpiece/hg-misc-tools" Repository = "https://github.com/alephpiece/hg-misc-tools" Issues = "https://github.com/alephpiece/hg-misc-tools/issues" [project.scripts] hytop = "hytop.main:main" [dependency-groups] dev = ["pytest>=8", "ruff>=0.15"] [tool.hatch.version] path = "src/hytop/__init__.py" [tool.hatch.build.targets.wheel] packages = ["src/hytop"] [tool.hatch.build.targets.sdist] exclude = ["tests/__pycache__", ".ruff_cache", ".pytest_cache"] [tool.pytest.ini_options] testpaths = ["tests"] [tool.ruff] target-version = "py310" line-length = 100 src = ["src", "tests"] [tool.ruff.lint] select = [ "F", # pyflakes "E", # pycodestyle errors "W", # pycodestyle warnings "I", # isort "UP", # pyupgrade "B", # flake8-bugbear "SIM", # flake8-simplify "RUF", # ruff-specific ]