-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
86 lines (77 loc) · 1.75 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
[project]
name = "celery-insights"
version = "0.2.0"
description = "Modern Real-Time Monitor for Celery"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"fastapi>=0.135",
"python-dotenv>=1",
"uvicorn>=0.41",
"celery~=5.6",
"fastapi-cache2",
"pydantic>=2.12",
"pydantic-settings>=2",
"dans-log-formatter",
"redis>=5.0.8",
"surrealdb>=1.0.8",
"python-multipart>=0.0.22",
"prometheus-client>=0.20",
]
[dependency-groups]
dev = [
"pytest>=9",
"pytest-xdist",
"pytest-mock",
"pytest-asyncio",
"pytest-env",
"pytest-cov",
"polyfactory",
"ruff",
"ty",
"ipython",
"pre-commit",
"httpx>=0.28.1",
]
all = [
"cryptography",
"celery[arangodb,couchdb,consul,dynamodb,elasticsearch,eventlet,gevent,msgpack,pymemcache,pyro,redis,riak,s3,slmq,sqlalchemy,tblib,zookeeper]",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["server"]
[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"
[tool.ty.environment]
python-version = "3.14"
extra-paths = ["server"]
[tool.ty.terminal]
output-format = "concise"