-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 1.88 KB
/
pyproject.toml
File metadata and controls
96 lines (86 loc) · 1.88 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "universal-intelligence"
version = "1.2.0"
authors = [
{ name = "Bluera Inc.", email = "bluera@bluera.ai" },
]
description = "Universal Intelligence"
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/blueraai/universal-intelligence"
"Bug Tracker" = "https://github.com/blueraai/universal-intelligence/issues"
[project.optional-dependencies]
community = [
"torch",
"transformers",
"huggingface_hub",
"psutil",
"accelerate",
"protobuf",
"llama-cpp-python"
]
mps = [
"mlx",
"mlx-lm",
]
cuda = [
"llama-cpp-python",
"auto-gptq",
"optimum",
"autoawq",
"bitsandbytes",
"accelerate",
]
mcp = [
"mcp"
]
dev = [
"ruff>=0.3.0",
"black>=24.2.0",
"isort>=5.13.2",
]
[tool.hatch.build.targets.wheel]
packages = ["universal_intelligence"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.ruff]
line-length = 300
target-version = "py310"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
"N", # pep8-naming
"RUF", # ruff-specific rules
]
ignore = ["B026", "E501", "RUF001"]
[tool.ruff.mccabe]
max-complexity = 50
[tool.ruff.isort]
known-first-party = ["universal_intelligence"]
[tool.black]
line-length = 300
target-version = ["py310"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 300