-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
107 lines (90 loc) · 2.51 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
102
103
104
105
106
107
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "dagster-open-platform"
version = "0.0.1"
requires-python = ">=3.11"
dependencies = [
"boto3",
"dbt-core<1.9",
"dbt-snowflake<1.9",
"dagster>=1.9.2", # 1.9.1 has a bug in the dagster-fivetran integration
"dagster-webserver",
"dagster-pipes",
"dagster-graphql",
"dagster-aws",
"dagster-snowflake",
"dagster-slack",
"dagster-pandas",
"dagster-fivetran",
"dagster-hightouch",
"dagster-insights",
"dagster-gcp",
"dagster-dbt",
"dagster-cloud",
"dagster-embedded-elt",
"sling<1.2.14", # https://github.com/slingdata-io/sling-cli/issues/349
"gql[requests]",
"dlt[snowflake,duckdb]",
"pydantic<2.9.0", # https://dagsterlabs.slack.com/archives/C04J8BRN9ST/p1725559237966589
"pyyaml",
"pyOpenSSL>=23.0.0" # https://dagsterlabs.slack.com/archives/C082K86U53Q/p1732735564080519
]
[project.optional-dependencies]
dev = [
"click",
"pytest",
"sqlfluff>=3",
"sqlfluff-templater-dbt",
"sprocketship"
]
tests = [
"pytest",
"responses"
]
[tool.setuptools.packages.find]
exclude = ["dagster_open_platform_tests"]
# ########################
# ##### DAGSTER
# ########################
[tool.dagster]
module_name = "dagster_open_platform.definitions"
code_location_name = "dagster_open_platform"
# ########################
# ##### SQLFLUFF
# ########################
[tool.sqlfluff.core]
templater = "dbt"
dialect = "snowflake"
exclude_rules = [
"aliasing.unique.column",
"ambiguous.column_count",
"structure.column_order",
"structure.using",
"references.consistent",
"references.qualification",
]
max_line_length = 100
nocolor = true
# Warn on the use of keywords as identifiers
warnings = "RF04"
large_file_skip_byte_limit = 35000
[tool.sqlfluff.templater.dbt]
project_dir = "./dagster_open_platform_dbt"
profiles_dir = "./dagster_open_platform_dbt"
[tool.sqlfluff.templater.jinja]
apply_dbt_builtins = true
load_macros_from_path = "./dagster_open_platform_dbt/macros"
[tool.sqlfluff.indentation]
tab_space_size = 4
[tool.sqlfluff.rules.capitalisation.keywords]
capitalisation_policy = "lower"
[tool.sqlfluff.rules.capitalisation.identifiers]
capitalisation_policy = "lower"
[tool.sqlfluff.rules.capitalisation.functions]
extended_capitalisation_policy = "lower"
[tool.sqlfluff.rules.capitalisation.literals]
capitalisation_policy = "lower"
[tool.sqlfluff.rules.capitalisation.types]
extended_capitalisation_policy = "lower"