-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
90 lines (81 loc) · 2.16 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
[tool.poetry]
name = "motion-python"
version = "0.1.132"
description = "A framework for building and maintaining self-updating prompts for LLMs."
authors = ["Shreya Shankar <shreyashankar@berkeley.edu>"]
readme = "README.md"
packages = [{include = "motion"}]
include = ["static/**/*"]
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.3"
colorlog = "^6.7.0"
cloudpickle = "^2.0"
redis = "^4.5.5"
psutil = "^5.9.5"
rich = "^13.4.1"
pyyaml = "^6.0.1"
tqdm = "^4.66.1"
fastvs = { version = "^0.1.7", optional = true }
pyarrow = { version = "^14.0.1", optional = true }
pandas = { version = "^2.1.0", optional = true }
pyjwt = { version = "^2.8.0", optional = true }
fastapi = { version = "^0.108.0", optional = true }
pydantic = "^2.5.3"
[tool.poetry.extras]
application = ["pyjwt", "fastapi"]
table = ["fastvs", "pyarrow", "pandas"]
all = ["pyjwt", "fastapi", "fastvs", "pyarrow", "pandas"]
[tool.poetry.group.dev.dependencies]
poetry-types = "^0.3.5"
pytest = "^7.2.2"
mypy = "^1.1.1"
coverage = {extras = ["toml"], version = "^7.2.3"}
pre-commit = "^3.2.1"
types-requests = "^2.28.11.16"
types-croniter = "^1.3.2.7"
mkdocs = "^1.4.2"
mkdocs-terminal = "^4.2.0"
mkdocs-material = "^9.1.5"
mkdocstrings = {version="^0.20.0", extras = ["python"] }
pytkdocs = "^0.16.1"
linkchecker = "^10.2.1"
maturin = "^0.14.17"
mike = "^1.1.2"
scikit-learn = "^1.2.2"
types-redis = "^4.5.5.2"
httpx = "^0.24.1"
pytest-asyncio = "^0.21.0"
pytest-timeout = "^2.1.0"
types-pyyaml = "^6.0.12.10"
ruff = "^0.1.14"
[tool.poetry.scripts]
motion = "motion.cli:motioncli"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--basetemp=/tmp/pytest"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning",
"ignore::RuntimeWarning"
]
[tool.mypy]
files = "motion"
mypy_path = "motion"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
exclude = ['motion/tests*']
ignore_missing_imports = true
show_error_codes = true
[tool.coverage.run]
omit = [".*", "*/site-packages/*"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:"
]
fail_under = 100