-
-
Notifications
You must be signed in to change notification settings - Fork 295
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (98 loc) · 3.04 KB
/
Copy pathpyproject.toml
File metadata and controls
112 lines (98 loc) · 3.04 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-rq"
dynamic = ["version"]
description = "An app that provides django integration for RQ (Redis Queue)"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE.txt"]
authors = [{ name = "Selwin Ong", email = "selwin.ong@gmail.com" }]
requires-python = ">=3.10"
dependencies = ["django>=4.2", "rq>=2.6.1", "redis>=3.5"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
]
[project.optional-dependencies]
prometheus = ["prometheus_client >= 0.4.0"]
testing = ["pytest>=7.0", "pytest-django>=4.5"]
[project.urls]
changelog = "https://github.com/rq/django-rq/blob/master/CHANGELOG.md"
homepage = "https://python-rq.org/patterns/django/"
repository = "https://github.com/rq/django-rq"
[tool.hatch.version]
path = "django_rq/__init__.py"
[tool.hatch.build.targets.sdist]
include = ["/django_rq", "/CHANGELOG.md", "/pyproject.toml"]
[tool.mypy]
allow_redefinition = true
check_untyped_defs = true
pretty = true
show_error_codes = true
show_error_context = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = "django_redis.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "prometheus_client.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "redis_cache.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rq_scheduler.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rq.cron"
ignore_missing_imports = true
[tool.ruff]
target-version = "py39"
# Set what ruff should check for.
# See https://beta.ruff.rs/docs/rules/ for a list of rules.
line-length = 120
format.quote-style = "preserve"
lint.select = [
"E", # pycodestyle errors
"F", # pyflakes errors
"I", # import sorting
"W", # pycodestyle warnings,
"UP",
]
lint.isort.known-first-party = [ "django_rq" ]
lint.isort.section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
pythonpath = ["."]
testpaths = ["tests"]
python_files = ["test_*.py", "tests.py"]