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