Karataev Pavel

Results 13 issues of Karataev Pavel

Ruff 0.3.5 false positive PLC0132 for NewType wrapped in Annotated ```python MyIds = Annotated[NewType("WrongName", str), int] # PLC0132 doesn't work MyId = NewType("Id", str) # NewType` name `Id` does not...

bug

What do u guys think about adding some helpers functions like flow & bind, just like `returns` already has? I try to use them and imho its looks better then...

I was happy with `beartype_all()` while running tests, but after some updates I discovered `markupsafe` in my requirements. And something terrible happened. prepare: ```bash pip install beartype markupsafe ``` failure...

pyright 1.1.371 ```python from typing import TypeAlias from typing import reveal_type class A: pass class B: pass class C: pass AB: TypeAlias = A | B ABC: TypeAlias = AB...

bug
addressed in next version

pyright 1.1.371 ```python from typing import TypeVar, TypeVarTuple, reveal_type T = TypeVar("T") TT = TypeVarTuple("TT") def do(tup: tuple[T, *TT]) -> tuple[T, *TT]: match tup: case (first, *last_n): reveal_type(last_n) # Type...

bug
addressed in next version

python was updated in ubuntu repository, but not in uv repos

When `pyright` updated to version 1.1.378, I got a bunch of errors with nullable database fields. As it turns out, you now need to set real values ​​for the default...

## [uv](https://github.com/astral-sh/uv) is super fast. It's pretty easy to install into the system and once you try it, something switches in you, so it's hard to go back. ```bash #...

Fix for https://github.com/beartype/beartype/issues/448 CI fixes will be delivered a bit later.

input: ```python @beartype def foo() -> None: pass ``` beartype generates: ```python def foo( *args, __beartype_object_137314538699864=__beartype_object_137314538699864, __beartype_get_violation=__beartype_get_violation, __beartype_conf=__beartype_conf, __beartype_check_meta=__beartype_check_meta,0x7ce3061f0940>, __beartype_func=__beartype_func, **kwargs ): ... ``` witch can be optimized to: ```python...