catherinedevlin / ipython-sql

%%sql magic for IPython, hopefully evolving into full SQL client
MIT License
1.79k stars 369 forks source link

Support the use of SQL linter/formatter #238

Closed flaviomartins closed 7 months ago

flaviomartins commented 1 year ago

Is there any chance of supporting automatic linting as well as automatic formatting for SQL code in %%sql cell magic?

Tools such as sqlfluff, that support setting the SQL dialect for checking could be configured on a per-connection basis or set automatically by making an educated guess from the (active) connection string.

I would be using this feature to improve my university-level database course.

thanks for your time

idomic commented 1 year ago

@flaviomartins Please feel free to share feedback here