forked from long2ice/meilisync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (60 loc) · 1.58 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
[tool.poetry]
authors = ["long2ice <[email protected]>"]
description = "Realtime sync data from MySQL/PostgreSQL/MongoDB to meilisearch"
documentation = "https://github.com/meilisync/meilisync"
include = ["CHANGELOG.md", "LICENSE", "README.md"]
keywords = ["meilisearch", "postgres", "mysql", "mongodb", "sync"]
license = "Apache-2.0"
name = "meilisync"
packages = [{ include = "meilisync" }]
readme = "README.md"
repository = "https://github.com/long2ice/meilisync.git"
version = "0.1.3"
[tool.poetry.dependencies]
aiofiles = "*"
asyncmy = "^0.2.9"
loguru = "*"
meilisearch-python-sdk = "*"
motor = { version = "*", optional = true }
psycopg2-binary = { version = "*", optional = true }
python = "^3.9"
pyyaml = "*"
redis = "*"
sentry-sdk = "*"
typer = { version = "*", extras = ["all"] }
pydantic-settings = "*"
[tool.poetry.group.dev.dependencies]
black = "*"
isort = "*"
mypy = "*"
pytest = "*"
pytest-asyncio = "*"
pytest-custom-exit-code = "*"
ruff = "*"
types-aiofiles = "*"
types-pyyaml = "*"
types-redis = "*"
[tool.poetry.extras]
all = ["asyncmy", "redis", "psycopg2-binary", "motor", "sentry-sdk"]
mongodb = ["motor"]
mysql = ["asyncmy"]
postgres = ["psycopg2-binary"]
redis = ["redis"]
sentry = ["sentry-sdk"]
[tool.poetry.scripts]
meilisync = "meilisync.main:app"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.isort]
profile = "black"
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.pytest.ini_options]
asyncio_mode = 'auto'
[tool.mypy]
ignore_missing_imports = true
pretty = true
[tool.ruff]
line-length = 100