[project]
name = "dbt-fansifter-shopify"
version = "0.1.0"
description = "dbt Core transformations for Shopify data ingested from multiple sources and unified in one model for the Fansifter app"
authors = [{ name = "fansifter" }]
readme = "README.md"
requires-python = "~=3.12.0"
dependencies = [
    "dbt-snowflake>=1.11.5",
]

[dependency-groups]
dev = [
    "sqlfluff>=4.2.2",
    "sqlfluff-templater-dbt>=4.2.2",
]

[tool.uv]

[[tool.uv.index]]
name = "theorchard"
url = "https://pypi.theorchard.io/pypi/"

[tool.sqlfluff.core]
templater = "dbt"
sql_file_exts = ".sql"
dialect = "snowflake"
ignore_paths = [
    ".venv/",
    "target/",
    "dbt_packages/",
    "macros/",
    "**/tmp/",
]
exclude_rules = "L031, L034"
max_line_length = 88
output_line_length = 88

[tool.sqlfluff.rules.capitalisation.keywords]
capitalisation_policy = "upper"

[tool.sqlfluff.rules.capitalisation.identifiers]
extended_capitalisation_policy = "upper"
