11[build-system ]
22build-backend = " hatchling.build"
3- requires = [
4- " hatchling" ,
5- ]
3+ requires = [" hatchling" ]
64
75[project ]
86name = " rq"
97description = " RQ is a simple, lightweight, library for creating background jobs, and processing them."
108readme = " README.md"
119license = " BSD-2-Clause"
12- maintainers = [
13- { name = " Selwin Ong" },
14- ]
10+ maintainers = [{ name = " Selwin Ong" }]
1511authors = [
16- {
name =
" Selwin Ong" ,
email =
" [email protected] " },
17- {
name =
" Vincent Driessen" ,
email =
" [email protected] " },
12+ {
name =
" Selwin Ong" ,
email =
" [email protected] " },
13+ {
name =
" Vincent Driessen" ,
email =
" [email protected] " },
1814]
1915requires-python = " >=3.8"
2016classifiers = [
21- " Development Status :: 5 - Production/Stable" ,
22- " Intended Audience :: Developers" ,
23- " Intended Audience :: End Users/Desktop" ,
24- " Intended Audience :: Information Technology" ,
25- " Intended Audience :: Science/Research" ,
26- " Intended Audience :: System Administrators" ,
27- " License :: OSI Approved :: BSD License" ,
28- " Operating System :: MacOS" ,
29- " Operating System :: POSIX" ,
30- " Operating System :: Unix" ,
31- " Programming Language :: Python" ,
32- " Programming Language :: Python :: 3 :: Only" ,
33- " Programming Language :: Python :: 3.8" ,
34- " Programming Language :: Python :: 3.9" ,
35- " Programming Language :: Python :: 3.10" ,
36- " Programming Language :: Python :: 3.11" ,
37- " Programming Language :: Python :: 3.12" ,
38- " Programming Language :: Python :: 3.13" ,
39- " Topic :: Internet" ,
40- " Topic :: Scientific/Engineering" ,
41- " Topic :: Software Development :: Libraries :: Python Modules" ,
42- " Topic :: System :: Distributed Computing" ,
43- " Topic :: System :: Monitoring" ,
44- " Topic :: System :: Systems Administration" ,
45- ]
46- dynamic = [
47- " version" ,
48- ]
49- dependencies = [
50- " click>=5" ,
51- " redis>=3.5" ,
17+ " Development Status :: 5 - Production/Stable" ,
18+ " Intended Audience :: Developers" ,
19+ " Intended Audience :: End Users/Desktop" ,
20+ " Intended Audience :: Information Technology" ,
21+ " Intended Audience :: Science/Research" ,
22+ " Intended Audience :: System Administrators" ,
23+ " License :: OSI Approved :: BSD License" ,
24+ " Operating System :: MacOS" ,
25+ " Operating System :: POSIX" ,
26+ " Operating System :: Unix" ,
27+ " Programming Language :: Python" ,
28+ " Programming Language :: Python :: 3 :: Only" ,
29+ " Programming Language :: Python :: 3.8" ,
30+ " Programming Language :: Python :: 3.9" ,
31+ " Programming Language :: Python :: 3.10" ,
32+ " Programming Language :: Python :: 3.11" ,
33+ " Programming Language :: Python :: 3.12" ,
34+ " Programming Language :: Python :: 3.13" ,
35+ " Topic :: Internet" ,
36+ " Topic :: Scientific/Engineering" ,
37+ " Topic :: Software Development :: Libraries :: Python Modules" ,
38+ " Topic :: System :: Distributed Computing" ,
39+ " Topic :: System :: Monitoring" ,
40+ " Topic :: System :: Systems Administration" ,
5241]
42+ dynamic = [" version" ]
43+ dependencies = [" click>=5" , " redis>=3.5,!=6.0.0" ]
5344urls.changelog = " https://github.com/rq/rq/blob/master/CHANGES.md"
5445urls.documentation = " https://python-rq.org/docs/"
5546urls.homepage = " https://python-rq.org/"
@@ -60,48 +51,48 @@ scripts.rqworker = "rq.cli:worker" # TODO [v2]: Remove
6051
6152[dependency-groups ]
6253dev = [
63- " coverage>=7.6.1" ,
64- " mypy>=1.14.1" ,
65- " packaging>=24.2" ,
66- " psutil>=7" ,
67- " pytest>=8.3.5" ,
68- " pytest-cov>=5" ,
69- " ruff>=0.9.9" ,
70- " tox>=4.24.1" ,
71- " types-greenlet>=3.1.0.20241221" ,
72- " types-redis>=4.6.0.20241004" ,
54+ " coverage>=7.6.1" ,
55+ " mypy>=1.14.1" ,
56+ " packaging>=24.2" ,
57+ " psutil>=7" ,
58+ " pytest>=8.3.5" ,
59+ " pytest-cov>=5" ,
60+ " ruff>=0.9.9" ,
61+ " tox>=4.24.1" ,
62+ " types-greenlet>=3.1.0.20241221" ,
63+ " types-redis>=4.6.0.20241004" ,
7364]
7465
7566[tool .hatch .version ]
7667path = " rq/version.py"
7768
7869[tool .hatch .build .targets .sdist ]
7970include = [
80- " /docs" ,
81- " /rq" ,
82- " /tests" ,
83- " CHANGES.md" ,
84- " LICENSE" ,
85- " pyproject.toml" ,
86- " README.md" ,
87- " requirements.txt" ,
88- " tox.ini" ,
71+ " /docs" ,
72+ " /rq" ,
73+ " /tests" ,
74+ " CHANGES.md" ,
75+ " LICENSE" ,
76+ " pyproject.toml" ,
77+ " README.md" ,
78+ " requirements.txt" ,
79+ " tox.ini" ,
8980]
9081[tool .hatch .envs .default ]
9182installer = " uv"
9283
9384[tool .hatch .envs .test ]
9485dependencies = [
95- " coverage" ,
96- " mypy" ,
97- " packaging" ,
98- " psutil" ,
99- " pytest" ,
100- " pytest-cov" ,
101- " ruff" ,
102- " tox" ,
103- " types-greenlet" ,
104- " types-redis" ,
86+ " coverage" ,
87+ " mypy" ,
88+ " packaging" ,
89+ " psutil" ,
90+ " pytest" ,
91+ " pytest-cov" ,
92+ " ruff" ,
93+ " tox" ,
94+ " types-greenlet" ,
95+ " types-redis" ,
10596]
10697[tool .hatch .envs .test .scripts ]
10798cov = " pytest --cov=rq --cov-config=.coveragerc --cov-report=xml {args:tests}"
@@ -115,13 +106,19 @@ target-version = "py38"
115106line-length = 120
116107format.quote-style = " single"
117108lint.select = [
118- " E" , # pycodestyle errors
119- " F" , # pyflakes errors
120- " I" , # import sorting
121- " W" , # pycodestyle warnings
109+ " E" , # pycodestyle errors
110+ " F" , # pyflakes errors
111+ " I" , # import sorting
112+ " W" , # pycodestyle warnings
113+ ]
114+ lint.isort.known-first-party = [" rq" ]
115+ lint.isort.section-order = [
116+ " future" ,
117+ " standard-library" ,
118+ " third-party" ,
119+ " first-party" ,
120+ " local-folder" ,
122121]
123- lint.isort.known-first-party = [ " rq" ]
124- lint.isort.section-order = [ " future" , " standard-library" , " third-party" , " first-party" , " local-folder" ]
125122
126123[tool .mypy ]
127124allow_redefinition = true
0 commit comments