-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (41 loc) · 1.02 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
[tool.poetry]
name = "app"
version = "0.1.0"
description = "Base template for creating a FastAPI application"
authors = ["druizz90 <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.82.0"
uvicorn = {extras = ["standard"], version = "^0.18.3"}
pydantic = "^1.10.2"
[tool.poetry.dev-dependencies]
pytest = "^7.1.3"
mypy = "^0.971"
flake8 = "^5.0.4"
coverage = {extras = ["toml"], version = "^6.4.4"}
black = "^22.8.0"
httpx = "^0.23.0"
pytest-asyncio = "^0.19.0"
asgi-lifespan = "^1.0.1"
bandit = {extras = ["toml"], version = "^1.7.4"}
isort = "^5.10.1"
[tool.poetry.scripts]
entrypoint = "runner:run"
[tool.pytest.ini_options]
asyncio_mode = "strict"
[tool.coverage.run]
source = ["app"]
[tool.mypy]
python_version = "3.10"
strict = true
files = ["app", "tests"]
[tool.bandit]
exclude_dirs = ["tests"]
[tool.black]
target-version = ["py310"]
line-length = 119
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"