-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
113 lines (91 loc) · 2.15 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
103
104
105
106
107
108
109
110
111
112
113
[tool.poetry]
name = "ctm-ai"
version = "0.0.1"
description = "A cognitive architecture motivated by consciousness turing machine."
authors = ["Haofei Yu <[email protected]>"]
license = "Apache 2.0 License"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9, <3.12"
huggingface_hub = "0.27.1"
openai = "^1.59.7"
scikit_learn = "1.6.1"
mypy = "^1.8.0"
pydantic = "^2.10.5"
termcolor = "*"
beartype = "*"
requests = "*"
types-requests = "*"
wordfreq = "*"
sockio = "*"
google-generativeai = "*"
opencv-python = "*"
moviepy = "*"
newspaper3k = "^0.2.8"
lxml-html-clean = "^0.4.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
nbmake = "*"
types-setuptools = "*"
types-pillow = "^10.2.0.20240822"
torch = "^2.5.1"
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-asyncio = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
follow_imports = "normal"
strict = true
plugins = ["pydantic.mypy"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
[tool.codespell]
ignore-words-list = "dout, te, indicies, astroid"
skip = ["data"]
[tool.isort]
profile = "black"
use_parentheses = true
skip_gitignore = true
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
line_length = 88
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310']
[tool.ruff]
line-length = 88
fix = true
target-version = "py310"
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.mypy-transformers]
ignore_missing_imports = true
[tool.mypy-litellm]
ignore_missing_imports = true
[tool.pydoc-markdown]
loaders = [
{ type = "python", search_path = ["."] }
]
[[tool.pydoc-markdown.processors]]
type = "filter"
skip_empty_modules = true
[[tool.pydoc-markdown.processors]]
type = "smart"
[[tool.pydoc-markdown.processors]]
type = "crossref"
[tool.pydoc-markdown.renderer]
type = "docusaurus"
docs_base_path = "docs"
relative_output_path = ""
sidebar_top_level_label = "Documentation"
[[tool.poetry.source]]
name = "torchcpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"