Matthew Runyon

Results 46 comments of Matthew Runyon

Not something I will currently continue working on (I have other priorities), but I made a quick POC using ruff as wasm. https://github.com/mattrunyon/web-client-ui/tree/ruff-wasm I built the wasm from source and...

https://docs.astral.sh/ruff/settings/#lintflake8-implicit-str-concat I think we should add this rule by default ```py t = t.update([ "X=X+1" # missing comma at the end not flagged by other rulesets "Y=Y+1" ]) ```

We should probably default to no style specific rules and focus only on rules that can show actual problems with the code (like inconsistent tabs/spaces). Or if they are style...

I've been looking at the ruff rules https://docs.astral.sh/ruff/rules I think we should enable - Pyflakes (F). These seems to be all actual errors or potential errors at a language level....

Formatter settings we should leave as default I think with the following exceptions - `indent-width` should match our monaco width. I think both default to 4 - `quote-style`. Default is...

Many of the E rules outside 1xx/2xx/9xx are more stylistic to me. If @jnumainville wants to chime in I'd like his thoughts on the other E rules. Also, the default...

Yes they will be toggles either in the notebook settings (like mini-map) or the user settings (like shortcuts). Linting config will be user customizable. Formatting has a few options as...

@chipkent just to clarify the rules list I proposed was for the web UI to show to users in notebooks/terminal. I think most of what you added would probably not...

`I002` we don't need. It lets you configure a list of imports that must occur in every file. So you could require every file do `from __future__ import typings` or...

@devinrsmith I think this will need a bit of server work to expose the Python/Groovy version to the client