-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
119 lines (107 loc) · 3.18 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
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
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "cedartl"
dynamic = ["version"]
description = "A lightweight, intuitive templating language designed for interactive use in LLM chat sessions."
authors = [{ name = "Elifarley", email = "[email protected]" }]
readme = "README.md"
license = {text = "AGPL-3.0"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Code Generators",
"Topic :: Text Processing :: General",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed"
]
keywords = [
"llm",
"templating",
"productivity",
"ai-development",
"code-generation",
"prompt-engineering",
"prompt-management",
"language-processing",
"development-tools"
]
dependencies = [
]
requires-python = ">=3.11"
[project.urls]
Homepage = "https://github.com/CedarVerse/cedartl"
Documentation = "https://github.com/CedarVerse/cedartl#readme"
Repository = "https://github.com/CedarVerse/cedartl.git"
"Bug Tracker" = "https://github.com/CedarVerse/cedartl/issues"
"Change Log" = "https://github.com/CedarVerse/cedartl/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"black>=22.0",
"ruff>=0.1.0", # Modern replacement for flake8, isort
"mypy>=0.900",
"coverage>=6.0",
"tox>=3.24",
]
docs = [
"sphinx>=7.0",
"sphinx-rtd-theme>=1.3",
"myst-parser>=2.0",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools_scm]
# To override version:
# >>> SETUPTOOLS_SCM_PRETEND_VERSION=0.0.2 python -m build
# To dry-run and see version:
# >>> python -m setuptools_scm
write_to = "src/cedartl/_version.py"
# Append .post{number of commits} to your version if there are commits after the last tag.
version_scheme = "post-release"
[tool.setuptools.packages.find]
where = ["src"]
include = ["cedartl*"]
exclude = ["cedartl.tests*"]
namespaces = false
[tool.setuptools.package-data]
"*" = ["*.txt", "*.rst"]
[tool.ruff]
line-length = 100
target-version = "py311"
select = ["E", "F", "I", "N", "W", "B", "C", "D"]
ignore = ["D203", "D212"]
[tool.ruff.isort]
known-first-party = ["cedartl"]
[tool.black]
line-length = 100
target-version = ['py311']
include = '\.pyi?$'
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=cedartl --cov-report=term-missing"
#testpaths = ["tests"]
#python_files = ["test_*.py"]
#python_classes = ["Test*"]
#python_functions = ["test_*"]