-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (85 loc) · 2.29 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
100
101
[tool.poetry]
name = "analytics-engineer-assignment"
version = "0.1.0"
description = "Assignment for the Analytics Engineer role at Clara"
authors = ["Hernán Vignolo <[email protected]>"]
maintainers = ["Hernán Vignolo <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["analytics_engineer", "Clara", "PostgreSQL", "dbt"]
[tool.poetry.dependencies]
python = "~3.10"
[tool.poetry.group.dbt]
optional = false
[tool.poetry.group.dbt.dependencies]
dbt-core = "1.5.6"
dbt-postgres = "1.5.6"
astronomer-cosmos = { version = "1.2.5", extras = ["dbt-postgres"] }
[tool.poetry.group.airflow]
optional = true
[tool.poetry.group.airflow.dependencies]
apache-airflow = "2.6.3"
apache-airflow-providers-dbt-cloud = "3.3.0"
apache-airflow-providers-postgres = "5.5.1"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
interrogate = "^1.5.0"
mypy = "^1.6.0"
nox = "^2023.4.22"
pre-commit = "^3.4.0"
pre-commit-hooks = "^4.5.0"
ruff = "^0.0.292"
sqlalchemy-stubs = "^0.4"
sqlfluff = "^2.3.2"
sqlfluff-templater-dbt = "^2.3.5"
types-pytz = "^2023.3.1.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-exclude = [".airflowignore", "__pycache__"]
extend-select = ["AIR", "B", "D", "I", "N", "PL", "Q"]
fix = true
fixable = ["ALL"]
ignore = ["D100", "D104", "D2", "D4"]
line-length = 88
output-format = "grouped"
show-fixes = true
show-source = true
target-version = "py310"
unfixable = []
[tool.ruff.pycodestyle]
ignore-overlong-task-comments = true
max-doc-length = 88
[tool.ruff.flake8-import-conventions]
[tool.ruff.flake8-import-conventions.aliases]
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"
scipy = "sp"
seaborn = "sns"
[tool.ruff.isort]
combine-as-imports = true
force-sort-within-sections = true
force-wrap-aliases = true
relative-imports-order = "closest-to-furthest"
split-on-trailing-comma = false
[tool.black]
line-length = 88
skip-string-normalization = true
[tool.interrogate]
color = true
fail-under = 30
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-module = false
ignore-private = false
ignore-property-decorators = false
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
ignore-semiprivate = false
quiet = false
verbose = 0
whitelist-regex = []