-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (63 loc) · 1.47 KB
/
pyproject.toml
File metadata and controls
71 lines (63 loc) · 1.47 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
[tool.poetry]
name = "egress-mqtt-to-badge"
version = "1.0.0"
description = "egress"
authors = ["Alex Persinger <nutcrunch@cackalackycon.org>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.12"
psycopg = { version = "~3.2", extras = ["binary"] }
opentelemetry-sdk = "1.24.0"
opentelemetry-exporter-otlp = "1.24.0"
paho-mqtt = "~2.1"
doppler-env = "*"
redis = "*"
async_timeout = "*"
confluent-kafka = "^2.10"
clickhouse-connect = "*"
lockfale-connectors = "1.5.0"
[tool.poetry.group.dev.dependencies]
black = "~24.4"
isort = "~5.13"
ipdb = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 150
exclude = ".*.sql|.*.md|.*.pyc|.*.yaml|.*.yml|.*.json|registration|do-not-commit|venv"
# https://pycqa.github.io/isort/docs/configuration/options.html
[tool.isort]
profile = "black"
float_to_top = true
skip = [
".gitignore",
".dockerignore",
".venv"
]
skip_glob = [
"**/.venv/**",
"**/registration/**"
]
extend_skip = [".venv"]
# https://mypy.readthedocs.io/en/stable/config_file.html#confval-exclude
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
disallow_untyped_defs = true
files = []
exclude = [
'venv',
'.venv',
]
disable_error_code = ["index", "import", "assignment",]
[tool.vulture]
min_confidence = 80
sort_by_size = true
exclude = []
[tool.pydocstyle]
convention = "numpy"
add-ignore = "D100,D104"
match = "^(?!.*stream).*.py$"