Add CLI module with commands
This commit is contained in:
@@ -5,25 +5,10 @@ build-backend = "setuptools.build_meta"
|
|||||||
[project]
|
[project]
|
||||||
name = "git-insights-cli"
|
name = "git-insights-cli"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
description = "A CLI tool that analyzes git repositories to generate developer productivity insights"
|
description = "A CLI tool that analyzes git repositories"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
authors = [
|
|
||||||
{name = "Git Insights Team"}
|
|
||||||
]
|
|
||||||
keywords = ["git", "cli", "analytics", "productivity"]
|
|
||||||
classifiers = [
|
|
||||||
"Development Status :: 3 - Alpha",
|
|
||||||
"Environment :: Console",
|
|
||||||
"Intended Audience :: Developers",
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
|
||||||
"Programming Language :: Python :: 3.12",
|
|
||||||
]
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"click>=8.0.0",
|
"click>=8.0.0",
|
||||||
"rich>=13.0.0",
|
"rich>=13.0.0",
|
||||||
@@ -36,26 +21,6 @@ dependencies = [
|
|||||||
[project.scripts]
|
[project.scripts]
|
||||||
git-insights = "git_insights.cli:main"
|
git-insights = "git_insights.cli:main"
|
||||||
|
|
||||||
[project.optional-dependencies]
|
|
||||||
dev = [
|
|
||||||
"pytest>=7.0.0",
|
|
||||||
"pytest-cov>=4.0.0",
|
|
||||||
"pytest-mock>=3.10.0",
|
|
||||||
"ruff>=0.1.0",
|
|
||||||
"mypy>=1.0.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = ["src"]
|
where = ["src"]
|
||||||
include = ["git_insights*"]
|
include = ["git_insights*"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
|
||||||
testpaths = ["tests"]
|
|
||||||
python_files = ["test_*.py"]
|
|
||||||
python_classes = ["Test*"]
|
|
||||||
python_functions = ["test_*"]
|
|
||||||
addopts = "-v --cov=src --cov-report=term-missing"
|
|
||||||
|
|
||||||
[tool.ruff.lint]
|
|
||||||
select = ["E", "F", "W"]
|
|
||||||
ignore = ["E501", "E722", "F401", "F841"]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user