summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: a4d7a60ad61e332af0cc45799ae9d3ed944c7391 (plain) (blame)
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
[tool.uv.workspace]
members = [
    "packages/meshbay-common",
    "packages/meshbay-hub",
    "packages/meshbay-node",
    "packages/meshbay-cli",
]

[tool.ruff]
line-length = 100
target-version = "py312"

[tool.ruff.lint]
select = ["E", "F", "I", "UP"]

[tool.pytest.ini_options]
# The node's tests `from conftest import ...`, and with no __init__.py every
# tests/conftest.py is the module `conftest`: the last one loaded wins. So the
# node stays last here.
testpaths = [
    "packages/meshbay-common/tests",
    "packages/meshbay-hub/tests",
    "packages/meshbay-cli/tests",
    "packages/meshbay-node/tests",
]
asyncio_mode = "auto"
# A hung test must not wedge the run — an aiortc handshake on the wrong Windows
# event loop can block forever with no internal timeout. thread method is used
# automatically on Windows (no SIGALRM).
timeout = 60