-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (48 loc) · 1.17 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
[project]
name = "django-app"
version = "0.1.0"
requires-python = ">3.7"
readme = "README.md"
authors = [{ name = "Team", email = "[email protected]" }]
dependencies = [
# Django libraries
"django",
"djangorestframework",
"gunicorn",
# Database libraries
"pgvector",
"psycopg[binary]",
"sqlalchemy",
# Project libraries
"openai",
# Type checking
"mypy",
# Linting and Formatting
"ruff",
# phidata
"phidata[aws]==2.4.14",
# pin requests to < 2.32 as it breaks docker
"requests<2.32.0"
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
# Change this value to use a different directory for the phidata workspace.
# [tool.phidata]
# workspace = "workspace"
[tool.ruff]
line-length = 110
exclude = ["aienv*", ".venv*"]
[tool.ruff.lint.per-file-ignores]
# Ignore `F401` (import violations) in all `__init__.py` files
"__init__.py" = ["F401"]
[tool.mypy]
check_untyped_defs = true
no_implicit_optional = true
warn_unused_configs = true
plugins = ["pydantic.mypy"]
exclude = ["aienv*", ".venv*"]
[[tool.mypy.overrides]]
module = ["django.*", "pgvector.*", "setuptools.*"]
ignore_missing_imports = true