-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (82 loc) · 2.02 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (82 loc) · 2.02 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[project]
name = "riptide-collector"
version = "0.1.0"
description = "DevOps delivery-metrics ingestion service for the riptide suite"
requires-python = ">=3.13"
readme = "README.md"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
"sqlalchemy[asyncio]>=2.0.36",
"asyncpg>=0.30",
"alembic>=1.14",
"pydantic>=2.10",
"pydantic-settings>=2.7",
"structlog>=24.4",
"email-validator>=2.2",
]
[dependency-groups]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.25",
"pytest-cov>=6.0",
"coverage[toml]>=7.6",
"testcontainers[postgres]>=4.9",
"httpx>=0.28",
"ruff>=0.8",
"basedpyright>=1.39.6",
"pre-commit>=4.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/riptide_collector"]
[tool.ruff]
target-version = "py313"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"migrations/**" = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
"tests/**" = ["B"]
[tool.basedpyright]
pythonVersion = "3.13"
include = ["src", "tests", "migrations"]
exclude = ["**/__pycache__", "**/.venv"]
venvPath = "."
venv = ".venv"
typeCheckingMode = "strict"
reportMissingTypeStubs = false
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownArgumentType = false
[[tool.basedpyright.executionEnvironments]]
root = "tests"
reportPrivateUsage = false
reportUnknownLambdaType = false
[[tool.basedpyright.executionEnvironments]]
root = "migrations"
reportPrivateUsage = false
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--strict-markers -ra"
[tool.coverage.run]
branch = true
source = ["src/riptide_collector"]
omit = [
"src/riptide_collector/__main__.py",
"migrations/*",
]
[tool.coverage.report]
fail_under = 85
show_missing = true
skip_covered = false
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]