61 lines
1.4 KiB
TOML
61 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "repohealth-cli"
|
|
version = "1.0.0"
|
|
description = "A CLI tool that analyzes Git repositories to calculate bus factor scores and identify knowledge concentration risks"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.9"
|
|
authors = [
|
|
{name = "RepoHealth Team"}
|
|
]
|
|
keywords = ["git", "analysis", "bus-factor", "code-review", "risk-assessment"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12"
|
|
]
|
|
dependencies = [
|
|
"gitpython==3.1.37",
|
|
"rich==13.7.0",
|
|
"click==8.1.7",
|
|
"jinja2==3.1.3",
|
|
"matplotlib==3.8.3",
|
|
"pandas==2.1.4"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-cov>=4.1.0",
|
|
"ruff>=0.1.0"
|
|
]
|
|
|
|
[project.scripts]
|
|
repohealth = "repohealth.__main__:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py39"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "UP", "B", "C4"]
|
|
ignore = ["E501"]
|