-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
90 lines (79 loc) · 2.11 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[tool.poetry]
name = "mattermost-data-warehouse"
version = "0.1.0"
description = "A set of tools for managing data at Mattermost's data warehouse"
authors = ["Munish Sharma <[email protected]>", "Ioannis Foukarakis <[email protected]>"]
readme = "README.md"
packages = [
{include = "extract"},
{include = "utils"},
]
exclude = [
"dags",
"dags/billing/*",
"plugins",
]
[tool.poetry.dependencies]
python = "^3.10"
certifi = "2018.8.24"
pandas = "^2.1.4"
requests = "2.28.1"
user-agents = "2.1"
snowflake-sqlalchemy = "^1.5.1"
snowflake-connector-python = "^3.6.0"
sqlalchemy = "<2.0.0"
ghapi = "^1.0.3"
click = "^8.1.3"
tabulate = "^0.9.0"
pydantic = "^2.8.2"
pyyaml = "^6.0.2"
boto3 = "^1.35.35"
[tool.poetry.group.dev.dependencies]
pylint = "^2.15.4"
pytest-responses = "^0.5.1"
pytest-mock = "^3.10.0"
pytest-cov = "^4.0.0"
black = "^22.10.0"
flake8 = "^5.0.4"
isort = "^5.10.1"
flake8-bugbear = "^22.10.27"
flake8-comprehensions = "^3.10.1"
flake8-simplify = "^0.19.3"
flake8-eradicate = "^1.4.0"
responses = "0.22.0"
mock = "^4.0.3"
pytest = "^7.1.3"
pytest-freezegun = "^0.4.2"
moto = {extras = ["s3"], version = "^5.0.16"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
rudder = "utils.rudderstack.__main__:rudder"
contributors = "utils.github.__main__:contributors"
push_proxy = "utils.push_proxy.__main__:push_proxy"
geolite = "utils.geolite.__main__:geolite"
packets = "utils.packets.__main__:packets"
snowflake = "utils.db.__main__:snowflake"
[tool.pytest.ini_options]
addopts = "--ignore=airflow"
testpaths = [ "tests" ]
[tool.coverage.run]
omit = [".*", "*/site-packages/*", "tests/*"]
source = ["extract", "utils", "tests"]
branch = true
[tool.coverage.report]
show_missing = true
precision = 2
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310']
skip-string-normalization = true
[tool.isort]
append_only = true
line_length = 120
combine_as_imports = true
default_section = "THIRDPARTY"
skip = ["build", "k8s", "load", "transform", ".tox", ".venv", ".venv-airflow"]
skip_glob = ["*.pyi"]
profile = "black"