David Salvisberg
David Salvisberg
Considering `flask.Markup` is just an alias for `markupsafe.Markup`, which is much more broadly used than flask itself (it's also used in jinja, which already has its own bandit rules), it...
@ericwb @lukehinds @sigmavirus24 As long as there's some interest, considering the precedent set by django/jinja/mako, I'd be happy to take a stab at an implementation for `markupsafe.Markup` with fewer false...
> The dedicated plugin seems a much better route. Have you tried contacting the author? They seem to list a twitter/X on their GitHub profile. If so and you've got...
I'll have a look at what pyright is unhappy with in the test cases later.
> Do you have a minimal repro of the pyright issue that caused you to comment out some cases? I tried a simpler version in the pyright playground but couldn't...
While custom descriptors are not quite as well supported as `property` I still think you might be able to get away with one, since this is a much more simple...
@adaamz If you are trying to access the type hint at runtime you currently can't have any type checking only imports. You are importing `Response` in a `if TYPE_CHECKING:` block...
Yeah until PEP649 becomes a thing (Python 3.13 at the earliest, although maybe they'll allow accessing the feature in earlier versions of Python via `from __future__ import annotations`) there's no...
Looks like pytype isn't happy with the use of a `TypeVarTuple` in a generic class yet.
The reason it's harder is that the generic now needs to be able to accept multiple values instead of just one, as well as some of the other special rules,...