[tool.poetry]
name = "bt-df-data-retention-manager"
version = "0.1.0"
description = "Manages dataflow jobs which control data retention in BigTable"
authors = ["Timur Shagapov <timur.shagapov@dataart.com>"]
readme = "README.md"
packages = [{include = "bt_df_data_retention_manager"}]

[tool.poetry.dependencies]
python = "^3.11"
google-cloud-bigtable = "2.15.0"
google-cloud-core = "2.3.2"
python-dateutil = "^2.8.2"
google-api-python-client = "^2.78.0"
transitions = "^0.9.0"
slack-sdk = "3.19.5"


[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
pylint = "^2.16.0"
pylint-quotes = "^0.2.3"
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-forked = "^1.4.0"
pytest-pylint = "^0.19.0"
pytest-xdist = "^3.1.0"
types-setuptools = "^65.7.0.3"
pytest-env = "^0.8.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
env = [
    "TABLES=charts,chartmetric,apple_music",
    "PROJECT_ID=IGNORE_ENVIRONMENT_PROJECT",
    "BT_INSTANCE_ID=fake_instance",
    "BIGTABLE_EMULATOR_HOST=localhost:8086"
]
