62 lines
1.1 KiB
TOML
62 lines
1.1 KiB
TOML
[project]
|
||
name = "data-platform"
|
||
version = "0.1.0"
|
||
requires-python = ">=3.11"
|
||
dependencies = [
|
||
"dagster",
|
||
"dagster-webserver",
|
||
"dagster-postgres",
|
||
"dagster-dbt",
|
||
"dbt-core",
|
||
"dbt-postgres",
|
||
"pyfunda",
|
||
]
|
||
|
||
[build-system]
|
||
requires = ["hatchling"]
|
||
build-backend = "hatchling.build"
|
||
|
||
[tool.hatch.build.targets.wheel]
|
||
packages = ["data_platform"]
|
||
|
||
[tool.dagster]
|
||
module_name = "data_platform"
|
||
attribute = "defs"
|
||
|
||
[dependency-groups]
|
||
dev = [
|
||
"pytest",
|
||
"dagster-webserver",
|
||
"pre-commit",
|
||
"ruff",
|
||
"sqlfluff",
|
||
"sqlfluff-templater-dbt",
|
||
]
|
||
|
||
[tool.ruff]
|
||
target-version = "py311"
|
||
line-length = 100
|
||
|
||
[tool.ruff.lint]
|
||
select = [
|
||
"E", # pycodestyle errors
|
||
"W", # pycodestyle warnings
|
||
"F", # pyflakes
|
||
"I", # isort
|
||
"UP", # pyupgrade
|
||
"B", # flake8-bugbear
|
||
"SIM", # flake8-simplify
|
||
"C4", # flake8-comprehensions
|
||
]
|
||
ignore = [
|
||
"E501", # line too long – handled by formatter
|
||
"B008", # function call in default argument (Dagster configs use this)
|
||
]
|
||
|
||
[tool.ruff.lint.isort]
|
||
known-first-party = ["data_platform"]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|
||
addopts = "-v"
|