-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (58 loc) · 1.24 KB
/
pyproject.toml
File metadata and controls
67 lines (58 loc) · 1.24 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
[project]
name = "apothecary"
version = "0.1.0"
description = "OpenSCAD generation toolkit + curated printable parts"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.121.1",
"jinja2>=3.1.6",
"pydantic>=2.12.4",
"click>=8.1.7",
"uvicorn>=0.30.0",
"playwright>=1.57.0",
]
[project.scripts]
apothecary = "apothecary.cli:main"
[dependency-groups]
dev = [
"pytest>=8.3.0",
"httpx>=0.27.2",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.23.6",
"playwright>=1.40.0",
"pytest-playwright>=0.4.0",
"ruff>=0.5.0",
"black>=24.4.0",
"pre-commit>=3.7.0",
]
[tool.uv]
package = true
[tool.setuptools]
packages = ["apothecary"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
markers = [
"e2e: end-to-end tests using Playwright",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.ruff]
line-length = 100
target-version = "py311"
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # import sort
"B", # bugbear
]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.coverage.run]
source = ["apothecary"]
omit = ["apothecary/projects/parts/*"]