-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (30 loc) · 969 Bytes
/
Copy pathpyproject.toml
File metadata and controls
37 lines (30 loc) · 969 Bytes
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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "runmesh"
version = "0.1.0"
description = "Python worker SDK for RunMesh"
requires-python = ">=3.11"
dependencies = ["aiohttp>=3.11,<4", "aiokafka>=0.12,<1", "grpcio>=1.74,<2", "protobuf>=7,<8"]
[project.optional-dependencies]
dev = ["pytest>=8", "pytest-asyncio>=0.25", "pytest-cov>=7,<8", "ruff>=0.9", "mypy>=1.14", "types-grpcio", "types-protobuf"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "--cov=runmesh.worker --cov-report=term-missing --cov-report=xml --cov-fail-under=40"
[tool.ruff]
line-length = 100
target-version = "py311"
extend-exclude = ["runmesh/v1"]
[tool.mypy]
python_version = "3.11"
strict = true
exclude = ["runmesh/v1"]
[[tool.mypy.overrides]]
module = ["aiokafka", "aiokafka.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["runmesh.v1.*"]
follow_imports = "skip"
ignore_errors = true