-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
64 lines (58 loc) · 1.64 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
[project]
name = "duckduckgo_search_api"
description = "Deploy an API that pulls data from duckduckgo search engine. "
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT License"}
keywords = ["python", "duckduckgo"]
authors = [
{name = "deedy5"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"duckduckgo_search==6.1.9",
"litestar[standard]==2.9.1"
]
dynamic = ["version"]
[project.urls] # Optional
"Homepage" = "https://github.com/deedy5/duckduckgo_search_api"
[tool.setuptools.dynamic]
version = {attr = "duckduckgo_search_api.main.__version__"}
[project.optional-dependencies]
dev = [
"mypy>=1.10.1",
"pytest>=8.2.2",
"ruff>=0.5.0",
]
[tool.ruff]
line-length = 120
exclude = ["tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
ignore = ["D100"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
strict = true
exclude = ["tests/", "build/"]