Micha Reiser

Results 740 comments of Micha Reiser
trafficstars

Related requests are to disable all formatter rules, or deprecated rules https://github.com/astral-sh/ruff/issues/10225 https://github.com/astral-sh/ruff/issues/9778

One benefit of separate crates is that it avoids re-compiling unchanged code because Rust skips crates where neither its dependencies nor modules have changed.

One thing that seems somewhat straightforward to achieve is to split out the `ast`, `source_code`, `cst` and `docstring` modules into a `ruff_python_syntax` crate (assuming I understood their purpose correctly and...

Hy @ma-sadeghi Not yet. We want to add docstring (the comment content) formatting in the future and are also thinking about string formatting in general (automatically splitting or collapsing them)...

The existing behavior is intentional to match how Python displays docstrings at runtime. Python's `cleandoc` function changes all tabs to 8 spaces. Because of that, Ruff is forced to change...

I think that should be fixed by https://github.com/astral-sh/uv/pull/1523

Thanks for the very detailed write up. I think that might be related to a parser bug in 0.4. Can you try upgrading to 0.4.1 or newer.

Hy @mvadari Can you try running `ruff check --fix`? `isort` is a lint rule and runs as part of `ruff check` and not `ruff format`. We're aware that this is...

I'm closing this since we haven't heard back. Feel free to re-open/comment if you're still encountering this issue.