SQLFluff
A modular SQL linter and auto-formatter with support for multiple dialects and templated code.
Usage
pip install sqlfluff
# 포맷
sqlfluff fix input.sql --dialect postgres
# 린트만
sqlfluff lint input.sql --dialect postgres
See also
- SQL
- Postgres
- pgFormatter (pgformatter; pg_format)
- SQLFluff (sqlfluff)
- sql-formatter (Node.js 기반)