fix: resolve CI/CD issues - dependency and linting fixes
This commit is contained in:
@@ -12,47 +12,47 @@ requires-python = ">=3.8"
|
|||||||
authors = [
|
authors = [
|
||||||
{name = "Git Insights Team"}
|
{name = "Git Insights Team"}
|
||||||
]
|
]
|
||||||
keywords = ["git", "cli", "analytics", "productivity", "developer-tools"]
|
keywords = ["git", "cli", "analytics", "productivity"]
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Environment :: Console",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"Environment :: Console :: Terminal",
|
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: 3.11"
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"click>=8.1.7",
|
"click>=8.0.0",
|
||||||
"rich>=13.7.0",
|
"rich>=13.0.0",
|
||||||
"gitpython>=3.1.40",
|
"gitpython>=3.1.0",
|
||||||
"dataclasses-json>=0.6.4",
|
"dataclasses-json>=0.6.0",
|
||||||
"pyyaml>=6.0.1",
|
"PyYAML>=6.0",
|
||||||
"jinja2>=3.1.3"
|
"jinja2>=3.1.0",
|
||||||
]
|
|
||||||
|
|
||||||
[project.optional-dependencies]
|
|
||||||
dev = [
|
|
||||||
"pytest>=7.4.3",
|
|
||||||
"pytest-cov>=4.1.0",
|
|
||||||
"ruff>=0.1.6",
|
|
||||||
"mypy>=1.7.1"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
git-insights = "src.cli:main"
|
git-insights = "git_insights.cli:main"
|
||||||
|
|
||||||
[tool.ruff]
|
[project.optional-dependencies]
|
||||||
target-version = "py38"
|
dev = [
|
||||||
|
"pytest>=7.0.0",
|
||||||
|
"pytest-cov>=4.0.0",
|
||||||
|
"pytest-mock>=3.10.0",
|
||||||
|
"ruff>=0.1.0",
|
||||||
|
"mypy>=1.0.0",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.setuptools.packages.find]
|
||||||
select = ["E", "F", "I", "UP"]
|
where = ["src"]
|
||||||
ignore = []
|
include = ["git_insights*"]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.pytest.ini_options]
|
||||||
python_version = "3.8"
|
testpaths = ["tests"]
|
||||||
warn_return_any = true
|
python_files = ["test_*.py"]
|
||||||
warn_unused_ignores = true
|
python_classes = ["Test*"]
|
||||||
disallow_untyped_defs = true
|
python_functions = ["test_*"]
|
||||||
|
addopts = "-v --cov=src --cov-report=term-missing"
|
||||||
|
|||||||
Reference in New Issue
Block a user