sqlfluff/sqlfluff
View on GitHub ↗ ★ 10,011 Python
A modular SQL linter and auto-formatter with support for multiple dialects and templated code.
9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2021-05-17 · latest 2023-10-12
20082026
-
…list [0], and then dialect-specific lists for everything from DB2 [1] to Snowflake [2]. [0]: https://github.com/sqlfluff/sqlfluff/blob/main/src/sqlfluff/... [1]: https://github.com/sqlfluff/sqlfluff/blob/main/src/sqlfluff/... [2]:…
comment by NoNotTheDuo · 2023-10-12 · in SQL reserved words – An empirical list -
It has tons of annoying quirks, but I couldn't imagine running a DBT project without it: https://github.com/sqlfluff/sqlfluff
comment by epgui · 2023-08-07 · in Postgres Language Server -
This linter can really enforce some best practices https://github.com/sqlfluff/sqlfluff A list of best practices: https://docs.getdbt.com/guides/legacy/best-practices And shameless plug but there's a chapter on modeling in my book:…
comment by thingsilearned · 2023-01-31 · in Ask HN: How do you test SQL? -
…(i.e. we can’t get it to indent subsequent lines of a multi-line command) but it does its job: https://github.com/sqlfluff/sqlfluff
comment by blumomo · 2022-05-21 · in Ask HN: Preferred SQL Auto-Formatter? -
Seems like a good thing to check for! So we added a rule for this: https://github.com/sqlfluff/sqlfluff/pull/1527 Including autofixing if wanted. Will be in the next release.
comment by tunetheweb · 2021-10-06 · in Sqlfluff the SQL Linter for Humans -
Looks like we didn't support SETOF. Added this here: https://github.com/sqlfluff/sqlfluff/pull/1522 Demonstrating how easy it is to add this sort of thing to the project thanks to how the code is structured! :-)
comment by tunetheweb · 2021-10-06 · in Sqlfluff the SQL Linter for Humans -
…forbid something more obscure. Documentation is sketchy, but you can see the proof of concept here: https://github.com/sqlfluff/sqlfluff/tree/main/plugins/sqlfl...
comment by amshank · 2021-10-06 · in Sqlfluff the SQL Linter for Humans -
…I notice SQLite could use some improving too, seems like a great project to coalesce around. [1] https://github.com/sqlfluff/sqlfluff/blob/main/src/sqlfluff/...
comment by munro · 2021-10-06 · in Sqlfluff the SQL Linter for Humans -
▲ 3
SQLFluff: The SQL Linter for humans, dialect-flexible and configurablestory by crazypython · 2021-05-17 · 0 comments