-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (94 loc) · 2.53 KB
/
pyproject.toml
File metadata and controls
106 lines (94 loc) · 2.53 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pretty-release-notes"
dynamic = ["version"]
description = "Transform GitHub release notes with AI"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Raffael Meyer" }
]
keywords = ["github", "release-notes", "llm", "cli"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing :: Markup :: Markdown",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"requests>=2.31.0",
"python-dotenv>=1.0.0",
"tenacity>=8.2.0",
"any-llm-sdk[all]",
]
[project.optional-dependencies]
web = [
"fastapi>=0.119.0",
"uvicorn>=0.38.0",
"pydantic>=2.0.0",
]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"mypy>=1.7.0",
"ruff>=0.1.0",
"types-requests",
]
[project.scripts]
pretty-release-notes = "pretty_release_notes.main:app"
[project.urls]
Homepage = "https://github.com/alyf-de/pretty_release_notes"
Documentation = "https://github.com/alyf-de/pretty_release_notes#readme"
Repository = "https://github.com/alyf-de/pretty_release_notes"
Issues = "https://github.com/alyf-de/pretty_release_notes/issues"
[tool.setuptools]
packages = [
"pretty_release_notes",
"pretty_release_notes.core",
"pretty_release_notes.models",
"pretty_release_notes.adapters",
"pretty_release_notes.web",
]
[tool.setuptools.package-data]
pretty_release_notes = ["py.typed", "prompt.txt"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.format]
# Use ruff for formatting (replaces black)
quote-style = "double"
indent-style = "tab"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
]
ignore = [
"W191", # Indentation contains tabs
]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--cov=pretty_release_notes --cov-report=html --cov-report=term-missing"