-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (56 loc) · 1.5 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
[tool.poetry]
name = "ollama-x"
version = "0.1.1"
description = "Ollama Proxy Server with Extensions"
authors = ["Yury Sokov (Yurzs) <me@yurzs.dev>"]
readme = "README.md"
license = "MIT"
[tool.poetry.dependencies]
python = "^3.12"
pydantic = ">=2.8.2,<3"
uvicorn = ">=0.30,<1"
fastapi = ">=0.112,<1"
pydantic-mongo-document = {version = ">=1.0,<2.0"}
aiohttp = "^3.10.3"
pydantic-app-config = {git = "https://github.com/Yurzs/pydantic-app-config.git"}
apscheduler = "^3.10.4"
langfuse = "^2.43.3"
email-validator = "^2.2.0"
sentry-sdk = {extras = ["fastapi"], version = "^2.13.0"}
openapi-cli = "^0.2"
sse-starlette = "^2.1.3"
pytz = "^2024.2"
[tool.poetry.group.dev.dependencies]
isort = "^5.13.2"
black = "^24.8.0"
autoflake = "^2.3.1"
plumbum = "^1.8.3"
ruff = "^0.6.2"
openapi-cli = {extras = ["full"], version = "^0.2"}
[tool.poetry.scripts]
ollama-x = "openapi_cli.cli:main"
ollama-x-scheduler = "ollama_x.scheduler:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py312"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
ignore = ["B"]
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[toll.ruff.format]
docstring-code-format = true
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-line-length = 100