Micha Reiser

Results 794 comments of Micha Reiser

After speaking to @charliermarsh I was informed that Python 3.7 isn't supported. See the [platform support](https://github.com/astral-sh/uv#platform-support) section in the readme. Could you try using Python 3.8 or newer?

No worries and you're right. `uv` should do a better job at warning when it's used with an incompatible Python version. I'll create a separate issue to track this. Thanks...

Thank you for reporting. This is related to https://github.com/astral-sh/uv/issues/1327

> It would be nice if ruff had an enabled-by-default rule for warning about misuse of an src namespace package. Could you explain what you consider a misuse of a...

I close because it is stale. Please re-open if you plan to follow up on the remaining work.

> I'd much prefer to have these syntax errors be detected as part of E999 rather than adding a new lint rule. Although we'll be using a different part of...

Hmm that makes sense. It would be nice to use the control flow graph for this because I assume there are other situations where the loop exits early (`continue`, `break`,...

No, there's not. That's what I meant by my comment. We probably want to wait for a more complete control flow analysis or decided to only support a very small...

I think there's a way to detect if there's a star import in which case you could avoid creating any diagnostics (to avoid false-positives). The main open question to me...

@tibor-reiss my preference would be that we don't flag any variables if a file contains a star import. I think there's already precedence for this in Ruff but I would...