-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
70 lines (63 loc) · 1.38 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
[tool.poetry]
name = "nodeman"
version = "0.0.0"
description = "DNS TAPIR Node Manager"
authors = ["Jakob Schlyter <[email protected]>"]
readme = "README.md"
[tool.poetry.scripts]
nodeman_server = "nodeman.server:main"
nodeman_client = "nodeman.client:main"
[tool.poetry.dependencies]
python = "^3.12"
dnstapir = {git = "https://github.com/dnstapir/python-dnstapir.git", rev = "v1.1.0", extras = ["opentelemetry"]}
mongoengine = "^0.29.0"
fastapi = ">=0.114.0"
uvicorn = ">=0.30.1"
pydantic = "^2.10.4"
pydantic-settings = "^2.6.0"
werkzeug = "^3.0.4"
pyyaml = "^6.0.1"
namesgenerator = "^0.3"
jwcrypto = "^1.5.6"
httpx = "^0.28.0"
argon2-cffi = "^23.1.0"
redis = "^5.2.1"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"
ruff = ">=0.8.0"
pytest-ruff = "^0.4.1"
pytest-asyncio = ">=0.24.0"
pytest-httpx = ">=0.32.0"
mongomock = "^4.3.0"
coverage = "^7.6.8"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501", "I001"]
[tool.ruff.lint.isort]
force-sort-within-sections = false
known-first-party = [
"nodeman", "dnstapir"
]
extra-standard-library = [
"tomllib",
]
combine-as-imports = true
split-on-trailing-comma = false