-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (57 loc) · 1.29 KB
/
pyproject.toml
File metadata and controls
65 lines (57 loc) · 1.29 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
[project]
name = "github-webhook-receiver"
version = "1.0.0"
description = "GitHub webhook receiver for multi-repo coordination"
authors = [
{name = "James Westover", email = "james.westover@icloud.com"},
]
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"structlog>=24.4.0",
"python-dotenv>=1.0.1",
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"}
[project.optional-dependencies]
dev = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"httpx>=0.27.2",
"ruff>=0.7.0",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
dev = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"httpx>=0.27.2",
"ruff>=0.7.0",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.lint.isort]
known-first-party = ["app"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]