-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
77 lines (71 loc) · 1.64 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
[tool.poetry]
name = "lakehouse"
version = "0.1.0"
description = ""
authors = ["Kun <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
dbt-core = "^1.5.0"
dbt-trino = "^1.5.0"
trino = "^0.326.0"
urllib3 = "^1.26.16"
airflow-dbt = "^0.4.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
apache-airflow = "2.7.0"
git-changelog = "^2.2.0"
sqlfluff = "^2.3.1"
sqlfluff-templater-dbt = "^2.3.1"
ruff = "^0.0.287"
black = "^23.7.0"
pytest = "^7.4.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100 # defaults to 88 like black
target-version = "py311" # the python version to target, useful when considering code upgrades, defaults to "py310"
fix = true
show-source = true
format = "grouped"
select = [
# pycodestyle
"E",
"W",
# pyflakes
"F",
# pylint
"PLC",
"PLE",
"PLW",
# isort
"I",
# flake8-builtins
"A",
# flake8-bugbear
"B",
# flake8-commas
"COM",
# flake8-comprehensions
"C4",
# flake8-datetimez
"DTZ",
# flake8-implicit-str-concat
"ISC",
# flake8-pie
"PIE",
# flake8-pytest-style
"PT",
# flake8-quotes
"Q",
# flake8-tidy-imports
"TID",
# explicitly select rules under the nursery-flag introduced in ruff 0.0.269
# remove once enabled via the "E" selector
"E111", "E112", "E113", "E114", "E115", "E116", "E117",
"E201", "E202", "E203", "E211", "E221", "E222", "E223",
"E224", "E225", "E226", "E227", "E228", "E231", "E251",
"E252", "E261", "E262", "E265", "E266", "E271", "E272",
"E273", "E274", "E275",
]