-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (79 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
90 lines (79 loc) · 2.09 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
[project]
name = "api.letsbuilda.dev"
description = "Public API for our projects"
authors = [{ name = "Bradley Reynolds", email = "bradley.reynolds@tailstory.dev" }]
license = "MIT"
requires-python = ">=3.14"
dynamic = ["version"]
dependencies = [
# Core
## Metrics
"sentry-sdk>=2.58.0",
## Settings and configuration
"pydantic>=2.13.0",
"pydantic-settings>=2.13.1",
## Web
"gunicorn>=25.3.0",
"uvicorn-worker>=0.4.0",
"uvicorn[standard]>=0.44.0",
"litestar[brotli]>=2.21.1",
"imsosorry>=1.3.0",
]
[project.urls]
repository = "https://github.com/letsbuilda/api.letsbuilda.dev/"
documentation = "https://docs.letsbuilda.dev/api.letsbuilda.dev/"
[dependency-groups]
dev = [
"nox>=2026.4.10",
"prek>=0.3.8",
"ruff>=0.15.10",
"mypy>=1.20.0",
"ty>=0.0.29",
]
tests = [
"pytest>=9.0.3",
"coverage>=7.13.5",
"pytest-randomly>=4.0.1",
"pytest-codspeed>=4.3.0",
]
docs = [
"sphinx>=8.1.0",
"furo>=2025.12.19",
"sphinx-autoapi>=3.8.0",
"releases>=2.1.1",
]
[build-system]
requires = ["setuptools>=82.0.1"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic.version]
attr = "api.__version__"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"COM812", # (Missing trailing comma) - conflicts with formatter
"CPY001", # (Missing copyright notice at top of file) - No license
"S311", # (Standard pseudo-random generators are not suitable for cryptographic purposes) - Not a crypto lib
]
[tool.ruff.lint.extend-per-file-ignores]
"docs/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Docs are not modules
]
"tests/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Tests are not modules
"S101", # (Use of `assert` detected) - Yes, that's the point
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.mypy]
pretty = true
[tool.coverage.run]
branch = true
source_pkgs = ["api"]
source_dirs = ["tests"]
[tool.pytest]
strict = true
junit_family = "xunit1"