Micha Reiser
Micha Reiser
Thanks for the excellent write up and your examples. I'm able to reproduce the same issue with Black when using your async example and positioning the cursor at the start...
> I imaged ruff will return a json structure as stdout when we add the ---json option. The `format` command doesn't support an `--output-format` today and I don't think I...
I took a quick look at Prettier. What they do is: * It gets the position of the closest node that fully encloses the cursor offset (we support that by...
> Very interesting. Which one of you is working on this one? @snowsignal is working on the LSP rewrite > There are some issues and challenges with the pycharm plugin,...
@usethia your question seems unrelated to this issue. I'll reply anyway but please open a new issue if you need more help to avoid sidetracking this issue. `ruff lint` isn't...
> Anyone know where in the Ruff codebase I would check for unused functions? Not sure exactly where in `crates/ruff_linter/src/checkers/ast/analyze/` I would hook into, I originally thought in [statement.rs](https://github.com/astral-sh/ruff/blob/main/crates/ruff_linter/src/checkers/ast/analyze/statement.rs?rgh-link-date=2024-08-18T05%3A02%3A46Z) but...
This makes sense to me. I'll pick this for 0.5
> If --format full or --format concise is provided explicitly (or in the configuration file) we should always respect the given format regardless of the number of violations. I'm undecided...
> I don't really follow this, why? If you explicitly request the full format it seems weird that we would not respect that. Because I understood that having the "automatic"...
I don't know how complicated it is to support this, but I think changing `E301` to accept this syntax would be good regardless. CC: @hoel-bagard