-
Depending on the results of the experiment in #30547 (full flake8 for skew_tableau.py, as an experiment), we may want to add and document `flake8` as a linter.
CC: @fchapoton @tscrim @tobiasdi…
-
*I am filing the below not really having through details, though I at least don't see this mentioned in any other issue, hence splatting it out :). Spicy takes I'm sure coming below as I'm sure part o…
-
Set up a Github action for pull requests that does the following:
1. Run `black .` to format all Python files
2. Run `pyright` to check for types
3. Run `pytest` to run tests
-
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
```python
s = pd.Series(["a", "b", "a"], index=[1, 2, 2])
s.groupby(level=0).count()
```
Type c…
-
Following #7188, we can now have:
```python
from typing import overload
from typing_extensions import Literal
class Cat:
@overload
def __new__(cls, name: Literal['Tabby']) -> 'Tabby'…
-
Pitch
---
Add [`typing.PartialApplication`](https://en.wikipedia.org/wiki/Partial_application) to facilitate the implementation of:
- `__get__`, and
- `functools.partial`,
both of which are pra…
-
I use mypy to ensure type safety and avoid runtime errors. Functions are annotated and typing is enforced. However, PLS hovers and completions are based on heuristics that aren't as strict as typing r…
-
@rgaudin said:
> Found an issue: by calling pytest directly in invoke, it might escape a virtualenv if it's not activated (env/bin/inv coverage).
> Can be fixed with:
```
pyexe = shlex.quo…
-
Hey there; I saw https://github.com/beartype/beartype/commit/5791c2ad6487b4e5cd2f1d59d5421c64d96df916 and commented on it, but commit comments are likely to go under the radar.
The workflows seem t…
-
**Describe the bug**
When using [PEP 696](https://peps.python.org/pep-0696/) `TypeVar(..., default=)` with Unions that hide the args pyright reports some false positives as it does not track the `_…