forked from nsidnev/fastapi-realworld-example-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (65 loc) · 1.49 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
63
64
65
66
67
68
69
70
[tool.poetry]
name = "fastapi-realworld-example-app"
version = "0.0.0"
description = "Backend logic implementation for https://github.com/gothinkster/realworld with awesome FastAPI"
authors = ["Nik Sidnev <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9"
uvicorn = "^0.17.4"
fastapi = "^0.73.0"
pydantic = { version = "^1.8", extras = ["email", "dotenv"] }
passlib = { version = "^1.7", extras = ["bcrypt"] }
pyjwt = "^2.3"
databases = "^0.5.5"
asyncpg = "^0.25.0"
psycopg2-binary = "^2.9.3"
aiosql = "^3.3.1"
pypika = "^0.48.8"
alembic = "^1.7"
python-slugify = "^5.0"
Unidecode = "^1.3"
loguru = "^0.6.0"
[tool.poetry.dev-dependencies]
black = "^22.1.0"
isort = "^5.10"
autoflake = "^1.4"
wemake-python-styleguide = "^0.16.0"
mypy = "^0.931"
flake8-fixme = "^1.1"
pytest = "^7.0"
pytest-cov = "^3.0"
pytest-asyncio = "^0.18.0"
pytest-env = "^0.6.2"
pytest-xdist = "^2.4.0"
httpx = "^0.22.0"
asgi-lifespan = "^1.0.1"
[tool.isort]
profile = "black"
src_paths = ["app", "tests"]
combine_as_imports = true
[tool.pytest.ini_options]
testpaths = "tests"
filterwarnings = "error"
addopts = '''
--strict-markers
--tb=short
--cov=app
--cov=tests
--cov-branch
--cov-report=term-missing
--cov-report=html
--cov-report=xml
--no-cov-on-fail
--cov-fail-under=100
--numprocesses=auto
--asyncio-mode=auto
'''
env = [
"SECRET_KEY=secret",
"MAX_CONNECTIONS_COUNT=1",
"MIN_CONNECTIONS_COUNT=1"
]
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"