-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
86 lines (80 loc) · 1.83 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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "sergeant"
version = "0.26.1"
readme = "README.md"
homepage = "https://github.com/Intsights/sergeant"
repository = "https://github.com/Intsights/sergeant"
description = "Fast, Safe & Simple Asynchronous Task Queues Written In Pure Python"
authors = ["Gal Ben David <[email protected]>"]
license = "MIT"
documentation = "https://intsights.github.io/sergeant/"
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
keywords = [
"tasks",
"worker",
"queue",
"redis",
"celery",
]
packages = [
{ include = "sergeant" },
]
[tool.poetry.dependencies]
python = "^3.7"
hiredis = "^2"
msgpack = "^1"
orjson = "^3"
psutil = "^5"
pymongo = ">=3.0,<5.0"
redis = "^4"
typing_extensions = "^4"
[tool.poetry.dev-dependencies]
pytest = "^7"
[tool.isort]
skip_gitignore = true
reverse_relative = true
force_single_line = true
lines_after_imports = 2
lines_between_sections = 1
lines_between_types = 1
force_alphabetical_sort_within_sections = true
remove_redundant_aliases = true
src_paths = [
"sergeant",
"examples",
"benchmark",
]
sections = [
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
default_section = "THIRDPARTY"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = [
"--tb=native",
"--show-capture=stdout",
"--show-capture=stderr",
"--pythonwarnings=all",
]
testpaths = [
"tests",
]
[tool.mypy]
ignore_missing_imports = true
warn_redundant_casts = true
warn_unreachable = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
strict_equality = true