-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
73 lines (65 loc) · 1.65 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
71
72
73
[tool.poetry]
name = "irrexplorer"
version = "0.1.0"
description = "IRR explorer"
authors = ["Sasha Romijn <github@mxsasha.eu>"]
license = "BSD-2-Clause"
readme = 'README.md'
[tool.poetry.dependencies]
python = "^3.9"
starlette = ">=0.41"
uvicorn = {extras = ["standard"], version = "^0.32.0"}
databases = {extras = ["postgresql"], version = "^0.9"}
alembic = ">=1.5"
SQLAlchemy = "^2.0"
psycopg2-binary = ">=2.8.6"
aiohttp = "3.11.7"
aggregate6 = ">=1.0.12"
asgiref = ">=3.3.1"
gql = {extras = ["aiohttp"], version = ">=2.0.0", allow-prereleases = true}
requests = ">=2.25.1"
aiofiles = ">=0.6.0"
dataclasses-json = ">=0.5.2"
IPy = ">=1.01"
gunicorn = "^23.0"
[tool.poetry.dev-dependencies]
# Testing and related packages
coverage = ">=5.4"
pytest = ">=6.2.2"
pytest-cov = ">=2.11.1"
pytest-httpserver = ">=1.0.0"
pytest-asyncio = ">=0.14.0"
httpx = ">=0.17.0"
asgi-lifespan = ">=1.0.1"
SQLAlchemy-Utils = ">=0.36.8"
# Code style and type checks
mypy = ">=0.812"
flake8 = ">=3.8.4"
pep8-naming = ">=0.11.1"
isort = ">=5.8"
black = ">=20.8b1"
aioresponses = ">=0.7.1"
[build-system]
requires = ["poetry-core>==1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
reformat = "scripts:reformat"
lint = "scripts:lint"
frontend-build = "scripts:frontend_build"
frontend-install = "scripts:frontend_install"
import-data = "scripts:import_data"
http = "scripts:run_http"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == '__main__':",
]
omit = [
"irrexplorer/storage/migrations/versions/*",
]