forked from seomoz/qless-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
140 lines (126 loc) · 3.13 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=69",
"setuptools-scm>=8.0.4",
]
[project]
authors = [{name = "Danny Guinther"}]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.9",
]
dependencies = [
"argparse",
"decorator",
"hiredis",
"redis",
"typing_extensions>=4.8.0",
]
description = "Queue Management built on remote data structure stores like redis and valkey"
dynamic = ["version"]
keywords = [
"job",
"redis",
"reqless",
"valkey",
]
license = {text = "MIT"}
name = "reqless"
readme = "README.md"
requires-python = ">3.9.0"
[project.optional-dependencies]
dev = [
"black~=24.3",
"build~=1.0.3",
"flake8-pyproject~=1.2.3",
"flake8~=7.0.0",
"gevent~=24.2.1",
"isort~=5.8.0",
"mypy~=1.8.0",
"pre-commit~=2.20.0",
"removestar~=1.3.1",
"safety==2.3.4",
"setproctitle~=1.3.3",
"twine~=4.0.2",
"types-decorator~=5.1.8.4",
"types-redis~=4.6.0.11",
]
test = [
"coverage",
"coverage-badge~=1.1.0",
"pytest~=7.4.0",
"pytest-watcher~=0.4.2",
"setuptools>=69",
]
all = ["reqless[dev,test]"]
[project.urls]
Homepage = "https://github.com/tdg5/reqless-py"
Source = "https://github.com/tdg5/reqless-py"
Tracker = "https://github.com/tdg5/reqless-py/issues"
[tool.black]
exclude = "reqless/(lua|reqless-core)/.*"
include = "(reqless(_test)?)/.*\\.py$"
line-length = 88
target-version = ["py39"]
[tool.coverage.run]
omit = [
"reqless/__version__.py",
"reqless/profile.py",
]
source = [
"reqless",
]
[tool.coverage.report]
fail_under = 98
[tool.flake8]
exclude = ["reqless/lua", "reqless/reqless-core"]
ignore = ["E203", "E251", "E701", "N805", "W503", "DAR101", "DAR201", "DAR301", "DAR401"]
max-line-length = 88
min_python_version = "3.9.0"
[tool.isort]
include_trailing_comma = true
known_first_party = ["reqless", "reqless_test"]
line_length = 88
lines_after_imports = 2
multi_line_output = 3
profile = "black"
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip_glob = ["reqless/lua", "reqless/reqless-core"]
use_parentheses = true
[tool.mypy]
check_untyped_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
exclude = "^(reqless/reqless-core|reqless/lua|fixtures|.*?\\.js|.*?\\.json)"
ignore_missing_imports = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
markers = ["integration_test: marks tests as integration tests (deselect with '-m \"not integration_test\"')"]
norecursedirs = [
"reqless/lua",
"reqless/reqless-core",
]
testpaths = ["reqless_test"]
[tool.setuptools]
script-files = ["bin/reqless-py-worker"]
[tool.setuptools.package-data]
"reqless" = ["lua/*.lua", "py.typed"]
[tool.setuptools.packages.find]
include = [
"reqless",
"reqless.abstract",
"reqless.models",
"reqless.queue_resolvers",
"reqless.workers",
]
where = ["."]
[tool.setuptools_scm]
version_file = "reqless/__version__.py"