-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
61 lines (54 loc) · 1.77 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
[tool.poetry]
name = "reflekt"
version = "0.6.0"
description = "A CLI tool to define event schemas, lint them to enforce conventions, publish to a schema registry, and build corresponding data artifacts (e.g., dbt sources/models/docs)."
license = "Apache-2.0"
authors = ["Gregory Clunies <greg@reflekt-ci.com>"]
readme = "README.md"
repository = "https://github.com/GClunies/Reflekt"
keywords = ["events", "jsonschema", "analytics", "business-intelligence", "data-modeling", "dbt", "snowflake", "redshift", "segment", "avo"]
include = ["reflekt/_templates/**/*", "reflekt/_validation/**/*"]
[tool.poetry.scripts]
reflekt = "reflekt.cli:app"
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
typer = "^0.9.0"
rich = "^13.7.0"
loguru = "^0.7.2"
pyyaml = "^6.0.1"
gitpython = "^3.1.42"
jsonschema = "^4.21.1"
python-dotenv = "^1.0.1"
inflection = "^0.5.1"
sqlalchemy-redshift = "^0.8.14" # Does NOT include redshift-connector
redshift-connector = "^2.0.918"
snowflake-sqlalchemy = "^1.5.1" # Includes snowflake-connector-python
sqlalchemy-bigquery = "^1.9.0"
google-cloud-bigquery-storage = "^2.24.0" # Prevents UserWarning when `reflekt build` is run against BQ data warehosue
segment-analytics-python = "^2.3.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.1"
pytest-cov = "^4.1.0" # Includes coverage
mypy = "^1.8.0"
tox = "^4.13.0"
ruff = "^0.2.2"
make = "^0.1.6.post2"
reuse = "^3.0.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-vv -p no:warnings --cov=reflekt tests/"
testpaths = ["tests"]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py39,py310,py311
[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest tests/
"""