This repository was archived by the owner on Mar 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (63 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
77 lines (63 loc) · 1.3 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
[tool.poetry]
name = "chartos"
version = "0.1.0"
description = ""
authors = ["DGEX Solutions <contact@dgexsol.fr>"]
[tool.poetry.dependencies]
# base
python = "^3.8"
fastapi = "^0"
aioredis = "^2"
asyncpg = { version = "^0" }
uvicorn = { version = "^0", extras = ["standard"] }
# shapes and stuff
shapely = "^1"
pyproj = "^3" # CRS transformations
# production
gunicorn = {version = "20.1.0", optional = true}
sentry-sdk = {version = "0.20.2", optional = true}
[tool.poetry.extras]
production = [
"gunicorn",
"sentry-sdk",
]
[tool.poetry.dev-dependencies]
mypy = "*"
pytest = "*"
pytest-asyncio = "*"
# used for starting the app without an asgi server during tests
asgi-lifespan = "^1"
# used for querying the server during tests
httpx = "*"
# ikp3db = "1.4.1"
# coverage = "5.5"
# black = "21.9b0"
# isort = "^5"
# pyproject-flake8 = "0.0.1a2"
[tool.coverage.run]
omit = [
".*",
"*/*-packages/*",
"venv/*",
"*/config/*",
"*/tests/*",
]
[tool.coverage.report]
fail_under = 70
[tool.flake8]
ignore = "W503,E203"
max-line-length = 120
exclude = [
"__pycache__",
"*/migrations/*",
"venv/",
"config/",
]
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
multi_line_output = 3
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"