Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.59 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (56 loc) · 1.59 KB
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
61
62
63
64
65
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ai_commit_hooks"
dynamic = ["version"]
description = "AI-powered Git commit message generator hook for pre-commit."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [
{ name = "mcocdaa" }
]
keywords = ["git", "pre-commit", "conventional-commits", "deepseek", "openai"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Version Control :: Git",
]
[project.urls]
Homepage = "https://github.com/mcocdaa/ai-commit"
Repository = "https://github.com/mcocdaa/ai-commit"
[project.scripts]
ai-commit-gen = "prepare_commit_msg_hooks.ai_commit_gen:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"ruff>=0.9.0",
]
[tool.setuptools.dynamic]
version = {attr = "prepare_commit_msg_hooks.__version__"}
[tool.setuptools.packages.find]
exclude = ["tests*", "testing*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v"
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
]
ignore = [
"E501", # line too long
]