-
### Search keywords
"TCH rules", "move under TYPE_CHECKING", "FA100"
### Ruff Version
0.5.7
### Config
Part of pyproject.toml
```
[tool.poetry.group.dev.dependencies]
ruff = …
-
# Reproducer
```
python3.8 -m venv /tmp/py38
source /tmp/py38/bin/activate
pip -q install mypy
stubtest concurrent.futures
```
# Tentative fix
```diff
diff --git a/stdlib/concurrent/fut…
-
Hi!
I'm able to integrate with django-stubs no problem. It does work as intended overall. In my project though, I'm using `django-multitenant` which adds a layer of complexity. Almost ALL of my rel…
-
# Reasons
* Improving developer experience with this library.
* Possibility to use static type analysis for the code base.
# Introduction of Type Annotations
- Do some refactoring.
- …
-
#### What's the problem this feature will solve?
When I want to update packages that I have in requirements.in I need to run pip-compile, override my requirements.txt and then carefully look up pac…
-
This proposal is aimed at solving two related problem. First, when defining a multi-ary operator on Numpy arrays, e.g., [leaky integral](https://github.com/NeilGirdhar/tjax/blob/0c1b13629a197f38b73f4…
-
-
### Pandas version checks
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/i…
bjfar updated
1 month ago
-
**feature**
a parameterized (generic) class/type should fail to typecheck if it doesn't have the `__class_getitem__` method
**pitch**
the syntax for parameterized types is `SomeClass[int]`. h…
ghost updated
3 years ago
-
**Bug Report**
Passing a union of collections to a generic function that should preserve the type argument erases it instead. (Or should I say it consolidates it to `object`?)
**To Reproduce**
…