forked from tokibito/django-tasks-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.23 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
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "django-tasks-redis"
version = "0.1.0"
description = "A Redis/Valkey-backed task queue backend for Django 6.0's built-in task framework"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{name = "Shinya Okano", email = "tokibito@gmail.com"}
]
maintainers = [
{name = "Shinya Okano", email = "tokibito@gmail.com"}
]
keywords = [
"django",
"tasks",
"redis",
"valkey",
"async",
"queue",
"background",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.12"
dependencies = [
"Django>=6.0",
"redis>=5.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-django>=4.5",
"ruff>=0.8",
]
prometheus = [
"prometheus-client>=0.20.0",
]
[project.urls]
Homepage = "https://github.com/tokibito/django-tasks-redis"
Repository = "https://github.com/tokibito/django-tasks-redis"
Issues = "https://github.com/tokibito/django-tasks-redis/issues"
[tool.setuptools.packages.find]
include = ["django_tasks_redis*"]
exclude = ["tests*", "examples*"]
[tool.setuptools.package-data]
django_tasks_redis = ["templates/**/*.html"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
pythonpath = ["."]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v"
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["django_tasks_redis"]