-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (46 loc) · 1.22 KB
/
pyproject.toml
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
[tool.poetry]
name = "PACKAGE_NAME"
version = "0.1.0"
description = ""
authors = ["Robert Sivilli <[email protected]>"]
readme = "README.md"
[tool.black]
line-length = 120
target-version = ["py310", "py311"] # Adjust to your supported versions
skip-string-normalization = false
[tool.isort]
profile = "black"
line_length = 120
known_third_party = ["pydantic"] # Add "pydantic" here
[tool.mypy]
files = ["src", "tests"] # Adjust to your source directories
ignore_missing_imports = true
strict_optional = true
check_untyped_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
show_error_codes = true
pretty = true
plugins = ["pydantic.mypy"]
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^2.10.2"
pydantic-settings = "^2.6.1"
alembic = "^1.14.0"
fastapi = {extras = ["standard"], version = "^0.115.6"}
sqlmodel = "^0.0.22"
structlog = "^24.4.0"
mangum = "^0.19.0"
uvicorn = {extras = ["standard"], version = "^0.34.0"}
asyncpg = "^0.30.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.0.1"
pytest = "^8.3.3"
flake8 = "^7.1.1"
isort = "^5.13.2"
mypy = "^1.13.0"
black = "^24.10.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"