forked from fgregg/postgres-fts-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (45 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
55 lines (45 loc) · 1.46 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
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "postgres-fts-backend"
version = "0.0.4"
dependencies = ['django>=5.0', 'django-haystack>=2.8.0']
requires-python = ">= 3.12"
authors = [{ name = "Forest Gregg", email = "fgregg@datamade.us" }]
description = "A PostgreSQL Full Text Seach Backend for Haystack"
readme = "README.md"
classifiers = ["License :: OSI Approved :: MIT License"]
[project.optional-dependencies]
dev = ["pytest", "pytest-django", "ruff", "black", "mypy", "django-stubs"]
[project.urls]
Repository = "https://github.com/fgregg/postgres-fts-backend"
Issues = "https://github.com/fgregg/postgres-fts-backend/issues"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
pythonpath = ["."]
testpaths = ["tests"]
[tool.setuptools.packages.find]
include = ["postgres_fts_backend*"]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
ignore_missing_imports = true
[tool.django-stubs]
django_settings_module = "tests.settings"
[tool.ruff]
# Optionally set target Python version and line length for consistency
target-version = "py314"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort (import sorting)
"UP", # pyupgrade (modernize code)
"DJ", # Django rules (flake8-django),
"PLC", # Pylint conventions
"PT", # pytest rules
]
ignore = [
"E501", # Ignore line length violations (if you prefer an auto-formatter to handle it)
]