quadratichq / quadratic

Quadratic | Spreadsheet with Python, SQL, and AI
https://QuadraticHQ.com
Other
3.01k stars 153 forks source link

Ability to toggle a linter on/off in the code editor(s) #953

Open luke-quadratic opened 10 months ago

luke-quadratic commented 10 months ago

Common gripe I have with writing code in a notebook is collaboration with others inevitably ends up in inconsistent formatting and bad code practices overall, inevitably same issue with writing code in a spreadsheet.

Solution: a simple toggle for having the linter run, perhaps another tab next to console for outputs if easier than any kind of formatting. Something like Ruff which is written in Rust is cool (used by Pyodide, FastAPI, SciPy, HuggingFace, etc).

jimniels commented 10 months ago

Agree. Personally I think we should be opinionated about this and have automatic code formatting turned on by default for all cells — and then tucked away somewhere the preference to turn it off

davidkircos commented 10 months ago

I agree. It used to do this but we disabled it at some point.