Carl Meyer

Results 213 comments of Carl Meyer

We're running into this as well. (I almost didn't find this bug because you didn't use the term `auto_reload` -- this is only relevant when `auto_reload=True`). It looks like this...

@pganssle Actually for my specific needs, just getting one date is fine, that's not an issue. The problem is something completely different: using today as `dtstart` doesn't generate the same...

@bennn This is explained in my comment above from Oct 4, 2021. It's not strictly a "static check" vs "runtime check" distinction. It's not enough to just say that we...

> When you care about the inner structure or strictness flag is on (I also turn it on for all my projects), you can use: ``` def foo(f: Foo[T]): f.a...

I think the OP is pointing out that the diagnostic message sort of implies you can replace the code with `return condition`, whereas actually in this case you need `return...

FWIW, I agree with @hauntsaninja and @JelleZijlstra. I think in the more common use cases, seeing empty values is noisy and not useful, and `show_empty=True` can be passed if you...

(Thanks to @rmaceissoft for finding this and reporting it as part of pull #3).

I'm curious why the stdlib would be special in terms of "potentially clashing naming causing confusion." What about other third-party libraries? Should the option here really be `banned-from-non-first-party`?

I don't think I'm going to merge this as-is, want to redo it based on further discussion, and also depends on the salsa-or-no-salsa decision.

See some discussion at https://github.com/astral-sh/ruff/pull/10863#discussion_r1559906597 on how negative patterns should behave when the pattern does match the file (i.e. the negative pattern doesn't hit). Should this "un-ignore" the listed patterns,...