-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
98 lines (89 loc) · 1.84 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
[tool.poetry]
name = "Celery Insights"
version = "0.2.0"
description = "Modern Real-Time Monitor for Celery"
authors = ["Dan Yishai <[email protected]>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.112"
python-dotenv = "^1"
uvicorn = "^0.30"
pendulum = "*"
time-machine = "*"
celery = "~5.4"
websockets = "*"
fastapi-cache2 = "*"
user-agents = "*"
aiopath = "^0"
pydantic = "^2"
pydantic-settings = "^2"
colorlog = "*"
redis = "^5.0.8"
[tool.poetry.group.all]
optional = true
[tool.poetry.group.all.dependencies]
cryptography = "*"
celery = { version = "*", extras = [
"arangodb",
"couchdb",
"consul",
"dynamodb",
"elasticsearch",
"eventlet",
"gevent",
"msgpack",
"pymemcache",
"pyro",
"redis",
"riak",
"s3",
"slmq",
"sqlalchemy",
"tblib",
"zookeeper",
] }
[tool.poetry.group.dev.dependencies]
pytest = "^7"
pytest-xdist = "*"
pytest-mock = "*"
pytest-asyncio = "*"
pytest-env = "*"
pytest-cov = "*"
polyfactory = "*"
ruff = "*"
ipython = "*"
pre-commit = "*"
poetry-plugin-bundle = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = "server"
log_cli_level = "INFO"
[tool.ruff]
line-length = 120
src = ["server"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
"N", # pep8
"BLE", # flake8 blind except
"FBT", # flake8 boolean trap
"B", # flake8 bug bear
"C4", # flake8 comprehensions
"PIE", # flake8 pie
"T20", # flake8 print
"SIM", # flake8 simplify
"ARG", # flake8 unused arguments
"PTH", # flake8 pathlib
"UP", # pyupgrade
"ERA", # comment out code
"PD", # pandas
"RUF", # ruff rules
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"