-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (49 loc) · 1.16 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
55
56
57
58
59
60
61
62
[tool.poetry]
name = "fastapi-template"
version = "0.1.0"
description = ""
authors = ["IlyaBulatau <ilyabulatau@gmail.com>"]
readme = "README.md"
packages = [{include = "fastapi_template"}]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.109.2"
uvicorn = {extras = ["standart"], version = "^0.27.1"}
alembic = "^1.13.1"
sqlalchemy = "^2.0.27"
pydantic-settings = "^2.2.0"
asyncpg = "^0.29.0"
[tool.poetry.group.dev.dependencies]
black = "^24.2.0"
pre-commit = "^3.6.2"
flake8 = "^7.0.0"
isort = "^5.13.2"
[tool.black]
line-length=79
target-version = ['py310']
exclude="""
migrations
"""
force-exclude="tests"
[tool.isort]
profile="black"
line_length=79
multi_line_output = 3
skip=["migrations", "__init__.py", "tests"]
length_sort=true
lines_after_imports=2
lines_between_sections=1
group_by_package=true
ignore_comments=true
src_paths = ["src"]
combine_straight_imports=true
[tool.poetry.group.test.dependencies]
pytest = "^8.0.1"
httpx = "^0.27.0"
pytest-asyncio = "^0.23.5"
aiosqlite = "^0.20.0"
[tool.pytest.ini_options]
addopts = "--asyncio-mode=auto --runxfail -v -s -l"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"