Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2021 (5)
20082026
  1. …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
  2. 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
  3. 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?
  4. …(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?
  5. 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
  6. 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
  7. …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
  8. …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
  9. ▲ 3
    SQLFluff: The SQL Linter for humans, dialect-flexible and configurable
    story by crazypython · 2021-05-17 · 0 comments