-
**Describe the bug**
i'm using an alternate type checker ([basedmypy](https://github.com/kotlinIsland/basedmypy/)) that supports additional features such as tuple literal types, which is why i have p…
-
All usages of `Match.group` appear to return strings however, for optional named groups it can return None:
```python
import re
assert re.match("(?P[1-9]+)?", "abc").group("numbers") is None
```
-
https://github.com/KotlinIsland/basedmypy/pull/504#issuecomment-1694557259
It's a stacktrace
-
```py
from typing import TypeGuard
class A:
def f(self, a: object) -> TypeGuard[int]:
return True
a = A()
b: object
assert a.f(b)
reveal_type(a) # A
reveal_type(b) # i…
-
### Additional comment:
_No response_
-
### Describe the problem, ie expected/actual result (if it's not blatantly obvious)
this works at runtime so it should be allowed
### Gist to reproduce
```python
from typing import cast
c…
-
[autotyping](https://github.com/JelleZijlstra/autotyping) suggests type annotations in a "safe" and more "aggressive" manner. It would be nice to include its rules in ruff.
-
i'm using an alternate type checker ([basedmypy](https://github.com/kotlinIsland/basedmypy/)) that supports additional features such as tuple literal types, which is why i have pylance type checking d…
-
I am looking at the current rules in https://github.com/CarliJoy/intersection_examples/blob/main/specification.rst#typeddicts, which say that if two TypedDict members of an intersection share the same…
-
observed here: https://github.com/KotlinIsland/basedmypy/actions/runs/4519664399/jobs/7960278310
I used `--python-version 3.7` to generate the lock file but if failed in the CI where it used python…