forked from django-haystack/django-haystack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
103 lines (94 loc) · 2.43 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=3.4",
"wheel",
]
[project]
name = "django-haystack"
description = "Pluggable search for Django."
readme = "README.rst"
authors = [{name = "Daniel Lindsley", email = "[email protected]"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Topic :: Utilities",
]
dynamic = [
"version",
]
dependencies = [
"Django>=3.2",
"packaging",
]
[project.optional-dependencies]
elasticsearch = [
"elasticsearch<8,>=5",
]
testing = [
"coverage",
"geopy==2",
"pysolr>=3.7",
"python-dateutil",
"requests",
"whoosh<3.0,>=2.5.4",
]
[project.urls]
Documentation = "https://django-haystack.readthedocs.io"
Homepage = "http://haystacksearch.org/"
Source = "https://github.com/django-haystack/django-haystack"
[tool.setuptools]
packages = [
"haystack",
"haystack.backends",
"haystack.management",
"haystack.management.commands",
"haystack.templatetags",
"haystack.utils",
]
include-package-data = false
# test-suite = "test_haystack.run_tests.run_all" # validate-pyproject-toml will complain
zip-safe = false
[tool.setuptools.package-data]
haystack = [
"templates/panels/*",
"templates/search_configuration/*",
]
[tool.setuptools_scm]
fallback_version = "0.0.dev0"
write_to = "haystack/version.py"
[tool.isort]
known_first_party = ["haystack", "test_haystack"]
profile = "black"
multi_line_output = 3
[tool.ruff]
exclude = ["test_haystack"]
ignore = ["B018", "B028", "B904", "B905"]
line-length = 162
select = ["ASYNC", "B", "C4", "DJ", "E", "F", "G", "PLR091", "W"]
show-source = true
target-version = "py38"
[tool.ruff.isort]
known-first-party = ["haystack", "test_haystack"]
[tool.ruff.mccabe]
max-complexity = 14
[tool.ruff.pylint]
max-args = 20
max-branches = 40
max-returns = 8
max-statements = 91