-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
54 lines (48 loc) · 1.24 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
[tool.poetry]
name = "celery_exporter"
version = "0.1.0"
description = "Celery metrics exporter for Datadog and Postgres"
authors = ["Airbase Inc <[email protected]>"]
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "3.12.*"
amqp = "^5.2"
celery = "^5.4"
click = "^8.1"
daiquiri = "^3.1.0"
datadog = "^0.50"
kombu = "^5.2"
redis = "^5.0"
[tool.poetry.group.dev.dependencies]
flake8 = "^7.1"
pre-commit = "^3.8"
ruff = "^0.6.4" # Upgrade along with version in .pre-commit-config.yaml
taskipy = "^1.13"
[tool.ruff]
line-length = 88
target-version = "py312"
exclude = []
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN001",
"ANN201",
"ANN205",
"D100",
"D101",
"D102",
"D103",
"D104",
"D107",
"D211",
"D213",
"E501",
"G004",
"RUF012",
]
[tool.taskipy.tasks]
pre_freeze = "echo '# Do not edit directly, but instead via poetry' > requirements.txt && echo '# Do not edit directly, but instead via poetry. Also contains pinned dev requirements.' > requirements_all.txt"
freeze = "poetry export --without-hashes --format=requirements.txt >> requirements.txt && poetry export --with dev --without-hashes --format=requirements.txt >> requirements_all.txt"
ruff = "ruff check --unsafe-fixes"