-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
53 lines (48 loc) · 1.07 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
[build-system]
requires = [
"setuptools>=60",
"setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "endpoint/_version.py"
[tool.ruff]
line-length = 120
select = ["E", "F", "B", "Q"]
[project]
name = "mittaridatapumppu-endpoint"
description = "A FastAPI app that receives sensor data in POST requests and produces them to Kafka."
readme = "README.md"
requires-python = ">=3.12"
dynamic = ["version"]
dependencies = [
"fastapi ~= 0.105",
"fvhiot[kafka]@https://github.com/ForumViriumHelsinki/FVHIoT-python/releases/download/v1.0.2/FVHIoT-1.0.2-py3-none-any.whl",
"httpx ~= 0.25",
"kafka-python ~= 2.0",
"python-multipart ~= 0.0.6",
"sentry-asgi ~= 0.2",
"uvicorn ~= 0.24",
]
[project.optional-dependencies]
dev = [
"autoflake",
"autopep8",
"flake8",
"gunicorn",
"isort",
"pep8-naming",
"pre-commit",
"pydantic",
]
test = [
"ruff",
"pytest ~= 7.4",
"requests",
"pytest-asyncio",
"pytest-cov",
]
[tool.pytest.ini_options]
log_cli = 1
log_cli_level = 20
testpaths = ["tests"]
addopts = ["--color=yes"]