forked from phidatahq/phidata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
102 lines (91 loc) · 1.74 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
[project]
name = "phidata"
version = "2.3.39"
description = "Build AI Assistants using function calling"
requires-python = ">=3.8"
readme = "README.md"
authors = [
{name = "Ashpreet Bedi", email = "ashpreet@phidata.com"}
]
dependencies = [
"boto3",
"botocore",
"docker",
"gitpython",
"httpx",
"pydantic",
"pydantic-settings",
"python-dotenv",
"pyyaml",
"rich",
"tomli",
"typer",
"typing-extensions",
]
[project.optional-dependencies]
dev = [
"mypy",
"pytest",
"ruff",
"types-pyyaml"
]
aws = [
"boto3"
]
k8s = [
"kubernetes"
]
[project.scripts]
phi = "phi.cli.entrypoint:phi_cli"
[project.urls]
homepage = "https://phidata.com"
documentation = "https://docs.phidata.com"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["phi*"]
[tool.setuptools.package-data]
phi = ["py.typed"]
[tool.pytest.ini_options]
testpaths = "tests"
[tool.ruff]
line-length = 120
exclude = ["phienv*", "aienv*"]
# Ignore `F401` (import violations) in all `__init__.py` files
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"phi/k8s/app/traefik/crds.py" = ["E501"]
[tool.mypy]
check_untyped_defs = true
no_implicit_optional = true
warn_unused_configs = true
plugins = ["pydantic.mypy"]
exclude = ["phienv*", "aienv*"]
[[tool.mypy.overrides]]
module = [
"arxiv.*",
"boto3.*",
"botocore.*",
"bs4.*",
"docker.*",
"duckdb.*",
"duckduckgo_search.*",
"kubernetes.*",
"langchain.*",
"langchain_core.*",
"openai.*",
"ollama.*",
"pandas.*",
"pgvector.*",
"psycopg.*",
"pypdf.*",
"qdrant_client.*",
"setuptools.*",
"sqlalchemy.*",
"streamlit.*",
"textract.*",
"langchain.*",
"wikipedia.*",
]
ignore_missing_imports = true