-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
68 lines (58 loc) · 1.8 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
[tool.poetry]
name = "kontext-copilot"
version = "0.7.3"
description = "Kontext Copilot is an AI empowered assistant for data analytics that can run on your local computer."
authors = ["Kontext <enquiry@kontext.tech>"]
readme = "README.md"
homepage = "https://kontext.tech/copilot"
repository = "https://github.com/kontext-tech/kontext-copilot"
license = "MIT"
# Include the static website folder in the package
include = ["kontext_copilot/ui/**/*", "kontext_copilot/copilot/**/*.json", "kontext_copilot/copilot/**/*.md", "kontext_copilot/data/Chinook_Sqlite.db", "kontext_copilot/data/Chinook-LICENSE.md", "kontext_copilot/data/alembic/alembic.ini"]
[tool.poetry.dependencies]
python = "^3.9"
fastapi = "^0.111.0"
python-dotenv = "^1.0.1"
pre-commit = "^3.7.1"
typing-extensions = ">=4.10.0,<5.0.0"
sqlalchemy = "^2.0.31"
alembic = "^1.13.2"
pydantic = "^2.8.2"
colorlog = "^6.8.2"
duckdb = "^1.0.0"
pyarrow = "^17.0.0"
duckdb-engine = "^0.13.1"
pyodbc = "^5.1.0"
psycopg = {extras = ["binary"], version = "^3.2.1"}
oracledb = "^2.4.1"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "semver2"
version_provider = "poetry"
update_changelog_on_bump = true
major_version_zero = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.3,<9.0.0"
pytest-asyncio = "^0.23.2"
pytest-cov = ">=4.1,<6.0"
pytest-httpserver = "^1.0.8"
pillow = "^10.2.0"
ruff = ">=0.1.8,<0.5.0"
commitizen = "^3.27.0"
[tool.poetry.scripts]
kontext-copilot = "kontext_copilot.main:_main"
[tool.ruff]
line-length = 999
indent-width = 2
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.ruff.lint]
select = ["E", "F", "B"]
ignore = ["E501"]
[tool.pytest.ini_options]
addopts = '--doctest-modules --ignore examples'