-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (51 loc) · 1.6 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[project]
name = "aicmt"
description = "An intelligent Git commit assistant that not only generates commit messages, but also automatically analyzes and splits your code changes into multiple well-organized commits following best practices."
authors = [{name="Versun",email="[email protected]"}]
maintainers = [{name="Versun",email="[email protected]"}]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT License"}
keywords = ["aicmt", "ai commit", "ai git commit", "git", "commit", "message", "change", "code","ai", "intelligence", "intelligent", "automated", "assistant"]
dependencies = [
"gitpython",
"openai",
"rich",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"ruff",
"pytest",
"pytest-cov",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["aicmt"]
exclude = ["tests*"]
[tool.hatch.version]
path = "aicmt/__version__.py"
[project.scripts]
aicmt = "aicmt.cli:cli"
[project.urls]
Homepage = "https://github.com/versun/aicmt"
Repository = "https://github.com/versun/aicmt.git"
Issues = "https://github.com/versun/aicmt/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "--cov=aicmt --cov-report=term-missing --cov-report=html --cov-fail-under=80 -p no:cacheprovider --basetemp=tmp"
[tool.coverage.run]
source = ["aicmt"]
omit = ["tests/*", "**/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise NotImplementedError",
"pass",
"raise ImportError",
]