[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "xcl-lens" dynamic = ["version"] description = "RCCL/NCCL log parser and analyzer" readme = "README.md" license = { text = "MIT" } authors = [{ name = "alephpiece", email = "wangan.cs@gmail.com" }] requires-python = ">=3.10" dependencies = ["pandas>=2.0.0", "typer>=0.23"] keywords = ["rccl", "nccl", "logging", "parser", "gpu"] 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] xcl-lens = "xcl_lens.main:app" [dependency-groups] dev = ["pytest>=8", "ruff>=0.15"] [tool.hatch.version] path = "src/xcl_lens/__init__.py" [tool.hatch.build.targets.wheel] packages = ["src/xcl_lens"] [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 ] [tool.bumpversion] current_version = "0.1.6" commit = true commit_args = "" tag = true tag_name = "xcl-lens-{new_version}" message = "[xcl-lens] Bump version: {current_version} → {new_version}" [[tool.bumpversion.files]] filename = "src/xcl_lens/__init__.py" search = "__version__ = \"{current_version}\"" replace = "__version__ = \"{new_version}\""