-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (72 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
79 lines (72 loc) · 1.61 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
[tool.poetry]
name = "fastapi-arch-tmpl"
version = "0.0.1"
description = "fastapi-arch-tmpl"
authors = ["pog7x <poluningm@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.13"
asyncpg = "^0.31.0"
aiohttp = "^3.13.5"
aio-pika = "^9.6.2"
SQLAlchemy = "^2.0.49"
uvicorn = "^0.48.0"
fastapi = "^0.136.1"
pydantic-settings = "^2.14.1"
pydantic = "^2.13.4"
alembic = "^1.18.4"
httpx = "^0.28.1"
sqlmodel = "^0.0.38"
greenlet = "^3.5.1"
[tool.poetry.group.dev.dependencies]
pytest = "^9.0.3"
pytest-cov = "7.1.0"
black = "^26.5.1"
isort = "^8.0.1"
autoflake = "^2.3.3"
flake8 = "^7.3.0"
sqlalchemy-stubs = "^0.4"
pytest-asyncio = "^1.2.0"
factory-boy = "^3.3.3"
Faker = "^40.18.0"
asgi-lifespan = "^2.1.0"
mypy = "^2.1"
polyfactory = "^3.3.0"
respx = "^0.23.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
required_plugins = [
"pytest-asyncio",
"pytest-cov",
]
addopts = "--cov=app --cov-report term-missing -v"
testpaths = ["tests"]
markers = ["fast: run tests without extra dependencies"]
filterwarnings = ["ignore::DeprecationWarning", "ignore::UserWarning"]
asyncio_mode = "auto"
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
skip = ["venv", "migrations"]
[tool.black]
line-length = 88
target-version = ["py312"]
preview = true
exclude = '''
/(
| venv
| migrations
)/
'''
[tool.autoflake]
recursive = true
in-place = true
remove-all-unused-imports = true
remove-unused-variables = true
exclude = ["venv", "migrations"]