This repository was archived by the owner on Apr 20, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (118 loc) · 2.94 KB
/
pyproject.toml
File metadata and controls
133 lines (118 loc) · 2.94 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[project]
name = "commitloom"
version = "1.6.4"
description = "Weave perfect git commits with AI-powered intelligence"
authors = [
{ name = "Petru Arakiss", email = "petruarakiss@gmail.com" }
]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
keywords = [
"git",
"commit",
"ai",
"openai",
"cli",
"git-tools",
"semantic-commits"
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Version Control :: Git",
"Typing :: Typed"
]
dependencies = [
"python-dotenv>=1.0.1",
"rich>=13.9.4",
"requests>=2.32.3",
"click>=8.1.7",
]
[project.urls]
Homepage = "https://github.com/Arakiss/commitloom"
Repository = "https://github.com/Arakiss/commitloom"
Documentation = "https://github.com/Arakiss/commitloom#readme"
"Bug Tracker" = "https://github.com/Arakiss/commitloom/issues"
[project.scripts]
loom = "commitloom.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["commitloom"]
[tool.uv]
dev-dependencies = [
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-asyncio>=0.23.8",
"ruff>=0.1.6",
"mypy>=1.7.1",
"types-requests>=2.32.0",
"pytest-mock>=3.14.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = """
--cov=commitloom
--cov-report=term-missing
--cov-fail-under=68
--strict-markers
--strict-config
"""
asyncio_mode = "strict"
required_plugins = ["pytest-mock"]
[tool.pytest-asyncio]
asyncio_fixture_mode = "function"
[tool.coverage.run]
source = ["commitloom"]
omit = [
"tests/*",
"**/__init__.py",
"commitloom/__main__.py",
]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"def __repr__",
"@abstractmethod",
]
fail_under = 68
[tool.ruff]
line-length = 110
indent-width = 4
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F"]
ignore = ["E402", "E501", "I001", "F841", "B007", "F541", "W293", "UP012"]
[tool.ruff.lint.per-file-ignores]
"commitloom/cli/cli_handler.py" = ["C901"]
"commitloom/core/git.py" = ["B904"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
disallow_incomplete_defs = false
disallow_untyped_decorators = false
disallow_untyped_defs = false
no_implicit_optional = true
warn_redundant_casts = true
warn_return_any = false
warn_unused_ignores = true
[tool.ruff.lint.isort]
known-first-party = ["commitloom"]