-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (62 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (62 loc) · 1.46 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
[project]
name = "docker-browser"
version = "2.0.0"
description = "Visualize Docker objects and their relationships"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [
{ name = "Pierre FRAYER", email = "pfrayer+github@gmail.com" },
]
dependencies = [
"fastapi>=0.115,<1",
"uvicorn[standard]>=0.34,<1",
"docker>=7,<8",
]
[project.optional-dependencies]
dev = [
"pytest>=8,<9",
"pytest-asyncio>=0.25,<1",
"pytest-cov>=6,<7",
"httpx>=0.28,<1",
"ruff>=0.11,<1",
"pre-commit>=4,<5",
]
[project.scripts]
docker-browser = "app.app:main"
[tool.poetry]
packages = [{ include = "app" }]
[tool.poetry.group.dev.dependencies]
pytest = ">=8,<9"
pytest-asyncio = ">=0.25,<1"
pytest-cov = ">=6,<7"
httpx = ">=0.28,<1"
ruff = ">=0.11,<1"
pre-commit = ">=4,<5"
[tool.ruff]
target-version = "py313"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
]
[tool.ruff.lint.isort]
known-first-party = ["app"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov=app --cov-report=term-missing --cov-fail-under=100"
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.",
]
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"