-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (112 loc) · 2.83 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (112 loc) · 2.83 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
[project]
name = "tuttle"
version = "4.0.0"
description = "Painless business planning for freelancers."
readme = "README.md"
license = "GPL-3.0-only"
requires-python = ">=3.13"
authors = [
{ name = "Christian Staudt" },
{ name = "Vladimir Peter" },
]
keywords = ["tuttle"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"pytest",
"pandas",
"altair",
"pydantic",
"sqlmodel",
"ics",
"tatsu<5.8",
"babel",
"loguru",
"pandera",
"plutoprint",
"faker",
"PyPDF2",
"pymupdf",
"pycountry",
"pyobjc-framework-EventKit; sys_platform == 'darwin'",
"llama-index-core",
"llama-index-llms-ollama",
"llama-index-llms-openai-like",
"drafthorse",
"alembic>=1.18.4",
]
[project.scripts]
tuttle-rpc = "tuttle.rpc_server:main"
[project.urls]
Homepage = "https://github.com/tuttle-dev/tuttle"
Repository = "https://github.com/tuttle-dev/tuttle"
[dependency-groups]
dev = [
"jupyterlab",
"ipywidgets",
"black",
"nbdime",
"pre-commit",
"pydocstyle",
"isort",
"bump-my-version>=1.3.0",
]
build = [
"pyinstaller",
"typer",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["tuttle"]
[tool.pytest.ini_options]
testpaths = ["tuttle_tests"]
collect_ignore = ["setup.py"]
addopts = ""
[tool.flake8]
exclude = ["docs", ".venv"]
[tool.isort]
include_trailing_comma = true
use_parentheses = true
multi_line_output = 1
default_section = "THIRDPARTY"
known_first_party = ["tuttle"]
known_typing = ["typing"]
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.bumpversion]
current_version = "4.0.0"
commit = true
tag = true
tag_name = "v{new_version}"
commit_message = "chore: release v{new_version}"
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<pre_l>a|b|rc)(?P<pre_n>\d+))?'
serialize = [
"{major}.{minor}.{patch}{pre_l}{pre_n}",
"{major}.{minor}.{patch}",
]
[tool.bumpversion.parts.pre_l]
values = ["final", "a", "b", "rc"]
optional_value = "final"
first_value = "final"
[tool.bumpversion.parts.pre_n]
first_value = "1"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "tuttle/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[[tool.bumpversion.files]]
filename = "ui/package.json"
search = '"version": "{current_version}"'
replace = '"version": "{new_version}"'