forked from nrl-ai/llama-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
99 lines (88 loc) · 2.32 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "llama-assistant"
version = "0.1.37"
authors = [
{name = "Viet-Anh Nguyen", email = "[email protected]"},
]
description = "An AI assistant powered by Llama models"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["AI", "assistant", "Llama", "PyQt5"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"ffmpeg-python",
"PyQt5",
"markdown",
"llama-cpp-python",
"pynput",
"SpeechRecognition",
"huggingface_hub",
"openwakeword",
"whispercpp",
]
dynamic = []
[project.urls]
Homepage = "https://github.com/vietanhdev/llama-assistant"
"Bug Tracker" = "https://github.com/vietanhdev/llama-assistant/issues"
[project.scripts]
llama-assistant = "llama_assistant.main:main"
[tool.setuptools_scm]
write_to = "llama_assistant/_version.py"
[tool.setuptools.packages.find]
where = ["."]
include = ["llama_assistant*"]
exclude = ["tests*"]
[tool.setuptools.package-data]
"llama_assistant.resources" = ["*.png", "*.onnx"]
[tool.black]
line-length = 100
target-version = ['py37']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.pylint.master]
ignore-patterns = ["test_.*?py"]
[tool.pylint.format]
max-line-length = 100
[tool.pylint.messages_control]
disable = [
"C0114", # missing-module-docstring
"C0116", # missing-function-docstring
"C0103", # invalid-name
"W0611", # unused-import
"W0612", # unused-variable
"W0613", # unused-argument
"W0621", # redefined-outer-name
"W0622", # redefined-builtin
"W0703", # broad-except
"R0801", # duplicate-code
"R0902", # too-many-instance-attributes
"R0903", # too-few-public-methods
"R0904", # too-many-public-methods
"R0913", # too-many-arguments
]