-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (67 loc) · 1.66 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (67 loc) · 1.66 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
72
73
74
75
76
77
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "openblade"
version = "0.1.0"
description = "OpenBlade DIY tape archive controller with simulator-first safety model"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [{name = "OpenBlade contributors"}]
dependencies = [
"fastapi>=0.115",
"a2wsgi>=1.10",
"uvicorn[standard]>=0.30",
"sqlalchemy[asyncio]>=2.0",
"alembic>=1.13",
"typer>=0.12",
"rich>=13",
"pydantic>=2",
"aiosqlite>=0.20",
"structlog>=24.1",
"httpx>=0.27",
"pyotp>=2.9",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"hypothesis>=6.112",
"ruff>=0.6",
"mypy>=1.11",
"asyncssh>=2.21",
"pyfakefs>=5.6",
]
[project.scripts]
openblade = "openblade.cli.main:app"
[tool.hatch.build.targets.wheel]
packages = ["openblade"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "A", "SIM"]
ignore = ["A004", "B008", "B017", "E402", "E501", "UP017", "UP042", "UP047"]
[tool.ruff.lint.per-file-ignores]
"tests/hardware/*" = ["SIM105"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.12"
strict = true
plugins = []
warn_unused_configs = true
[tool.pytest.ini_options]
addopts = "-ra"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
markers = [
"real_hardware: tests requiring actual tape hardware",
"slow: long-running simulator stress tests",
"i3: Quantum i3 emulator and protocol tests",
"real_i3: tests requiring a physical Quantum Scalar i3",
]