-
Notifications
You must be signed in to change notification settings - Fork 59
/
pyproject.toml
66 lines (54 loc) · 1.2 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
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "backend"
version = "0.1.0"
description = "Minimal Poetry example with Docker Multi-Stage builds"
authors = ["Michael Oliver <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.7"
fastapi = "0.52.0"
gunicorn = "^20.0.4"
uvicorn = "^0.11.3"
[tool.poetry.dev-dependencies]
pytest = "5.3.5"
coverage = { version = "5.0.3", extras = ["toml"]}
black = "^19.10b0"
isort = { version = "^4.3.21", extras = ["pyproject"]}
requests = "^2.23.0"
[tool.black]
# https://github.com/psf/black
line-length = 88
target_version = ['py38']
exclude = '''
(
/(
\.git
| \.mypy_cache
| \.pytest_cache
| htmlcov
| venv
| .venv
)/
)
'''
[tool.isort]
# https://github.com/timothycrosley/isort
# https://github.com/timothycrosley/isort/wiki/isort-Settings
line_length = 88
indent = ' '
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
[tool.coverage]
# https://github.com/nedbat/coveragepy
[tool.coverage.run]
source = ["app"]
branch = true
omit = ['']
[tool.coverage.report]
exclude_lines = [
"# noqa",
"raise NotImplementedError"
]