-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
56 lines (48 loc) · 1.25 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
[tool.poetry]
name = "madr-fastapi"
version = "0.1.0"
description = ""
authors = ["lealre <[email protected]>"]
readme = "README.md"
packages = [{include = "src"}]
[tool.poetry.dependencies]
python = "3.12.*"
fastapi = {extras = ["standard"], version = "^0.112.0"}
sqlalchemy = "^2.0.31"
alembic = "^1.13.2"
email-validator = "^2.2.0"
pydantic-settings = "^2.4.0"
ruff = "^0.5.6"
psycopg = {extras = ["binary"], version = "^3.2.1"}
pyjwt = "^2.9.0"
pwdlib = {extras = ["argon2"], version = "^0.2.0"}
python-multipart = "^0.0.9"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
taskipy = "^1.13.0"
pytest-cov = "^5.0.0"
factory-boy = "^3.3.0"
freezegun = "^1.5.1"
testcontainers = "^4.7.2"
[tool.pytest.ini_options]
pythonpath = "."
addopts = '-p no:warnings'
[tool.ruff]
line-length = 79
extend-exclude = ['migrations']
[tool.ruff.lint]
preview = true
select = ['I', 'F', 'E', 'W', 'PL', 'PT']
[tool.ruff.format]
preview = true
quote-style = 'single'
[tool.taskipy.tasks]
run = 'fastapi dev src/app.py'
pre_test = 'task lint'
test = 'pytest --cov=src -vv'
post_test = 'coverage html'
lint = 'ruff check . && ruff check . --diff'
format = 'ruff check . --fix && ruff format .'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"