forked from mrgick/duck_chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (64 loc) · 2.07 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "duck_chat"
readme = "README.md"
description = "DuckDuckGo Chat AI client"
requires-python = ">=3.11"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
]
license = { file = "LICENSE" }
dependencies = ["aiohttp[speedups]>=3.9.5", "msgspec>=0.18.6", "rich>=13.7.1", "fake-useragent>=1.5.1"]
dynamic = ["version"]
authors = [{ name = "MrGick", email = "mrgickcool@gmail.com" }]
[tool.hatch.version]
path = "duck_chat/__init__.py"
[project.urls]
Homepage = "https://github.com/mrgick/duckduckgo-chat-ai"
Issues = "https://github.com/mrgick/duckduckgo-chat-ai/issues"
[project.optional-dependencies]
dev = ["isort>=5.13.2", "black>=24.4.2", "ruff>=0.5.1", "mypy>=1.11.1"]
[project.scripts]
duck_chat = "duck_chat.cli:safe_entry_point"
[tool.isort]
profile = "black"
py_version = 312
[tool.ruff]
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
line-length = 120
lint.ignore = [
"B008", # do not perform function calls in argument defaults
"C901", # too complex ( > 10)
"B904", # raise in except
]
[tool.mypy]
ignore_missing_imports = true
python_version = "3.11"
show_error_codes = true
strict = true
exclude = ['format.py', "tests/", "build/"]