Skip to content

Commit

Permalink
build: allow pyformat sql templating for sqlfluff
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jun 5, 2024
1 parent 2573240 commit 1405e1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ convention = "google"

[tool.sqlfluff.core]
dialect = "postgres"
templater = "placeholder"
[tool.sqlfluff.templater.placeholder]
param_style = "pyformat" # For pyformat SQL %(num_buildings)s

[project.scripts]
fmtm-splitter = "fmtm_splitter.splitter:main"

0 comments on commit 1405e1a

Please sign in to comment.