-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
46 lines (38 loc) · 966 Bytes
/
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
[tool.poetry]
name = "postgresql-to-rapidpro-sync"
version = "0.0.1"
description = "Sync database table to rapidpro contact fields"
authors = ["Praekelt.org <dev@praekelt.org>"]
license = "BSD 3-Clause"
readme = "README.md"
packages = [
{ include = "sync", from = "src" }
]
[tool.poetry.dependencies]
python = "^3.10"
psycopg = {extras = ["c"], version = "^3.0.14"}
aiohttp = {extras = ["speedups"], version = "^3.9.2"}
[tool.poetry.dev-dependencies]
black = "^22.3.0"
isort = "^5.10.1"
mypy = "^0.950"
flake8 = "^4.0.1"
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
pytest-asyncio = "^0.18.3"
pytest-aiohttp = "^1.0.4"
[tool.poetry.scripts]
postgresql_sync = "sync.cli:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
preview = true
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov=src"