-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (54 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
61 lines (54 loc) · 1.08 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
[project]
name = "journal-api"
version = "0.1.0"
description = "Journal API"
requires-python = ">=3.14"
dependencies = [
"fastapi",
"uvicorn",
"asyncpg",
"pydantic>=2",
"pydantic-settings",
"openai",
]
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"pytest-asyncio",
"httpx",
"ruff",
"pyright",
"pre-commit",
]
[tool.ruff]
line-length = 100
target-version = "py314"
[tool.ruff.lint]
select = [
"E", "W", "F", "I", "UP", "N", "B", "C4", "DTZ",
"SIM", "RET", "PT", "S", "T20", "ASYNC", "RUF",
]
ignore = ["E501"]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = [
"fastapi.Depends",
"fastapi.Query",
"fastapi.Path",
"fastapi.Body",
"fastapi.Header",
"fastapi.Cookie",
"fastapi.File",
"fastapi.Form",
"fastapi.Security",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
"scripts/**/*.py" = ["T201"]
[tool.ruff.lint.isort]
known-first-party = ["api"]
[tool.pyright]
typeCheckingMode = "basic"
pythonVersion = "3.14"
include = ["api", "scripts", "tests"]
venvPath = "."
venv = ".venv"