generated from infinitelambda/template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
99 lines (91 loc) · 2.42 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
91
92
93
94
95
96
97
98
99
[tool.poetry]
name = "diqu"
version = "0.0.0"
description = "Data Quality CLI for the Auto-Alerts"
authors = ["Infinite Lambda <contact@infinitelambda.com>"]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/infinitelambda/diqu"
homepage = "https://infinitelambda.com"
documentation = "https://diqu.iflambda.com/latest/"
keywords = ["packaging", "poetry", "data-quality", "alert", "notification", "collaboration", "agility", "flake8", "markdown", "lint"]
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
packages = [
{include = "diqu"},
{include = "README.md"},
]
[tool.poetry.scripts]
diqu = "diqu.__entrypoint__:main"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
rich-click = "^1.7.0"
pyyaml = "^6.0.1"
pandas = ">=1.0,<2.1"
snowplow-tracker = "^1.0.1"
jira = "^3.5.2"
slack-sdk = "^3.23.0"
numpy = "<2.0"
[tool.poetry.dev-dependencies]
snowflake-connector-python = {version = "^3.12.3", extras = ["secure-local-storage", "pandas"]}
pre-commit = "^2.17.0"
poethepoet = "^0.16.4"
black = "^24.3.0"
flake8 = "^6.0.0"
isort = "^5.12.0"
autoflake = "^2.0.1"
pytest = "^7.2.0"
pytest-sugar = "^0.9.6"
coverage = {version = "^6.5.0", extras = ["toml"]}
pdoc = "^14.5.1"
mkdocs = "^1.5.3"
mkdocs-material = "^9.4.8"
mkdocs-minify-plugin = "^0.7.1"
mike = "^2.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
multi_line_output = 3
force_to_top = ["os"]
profile = "black"
skip_gitignore = true
[tool.autoflake]
recursive = true
in-place = true
remove-all-unused-imports = true
ignore-init-module-imports = true
remove-unused-variables = true
ignore-pass-statements = false
[tool.coverage.run]
omit = ["tests/*"]
[tool.poe.tasks]
git-hooks = { shell = "pre-commit install --install-hooks && pre-commit install --hook-type commit-msg" }
format = [
{cmd = "autoflake ."},
{cmd = "black ."},
{cmd = "isort ."},
]
lint = [
{cmd = "black --check ."},
{cmd = "isort --check-only ."},
{cmd = "flake8 ."},
]
test = [
{cmd = "pytest ."},
]
test-cov = [
{cmd = "pytest --version"},
{cmd = "coverage run -m pytest ."},
{cmd = "coverage report --show-missing"},
{cmd = "coverage xml"},
]
build-doc = [
{cmd = "mkdocs build"},
{cmd = "mkdocs serve"}
]