-
Pyright is complaining about missing type exports as part of the distributed package (well, git repo):
-
> > Makes sense, do you think we can also add this? https://github.com/strawberry-graphql/strawberry/blob/main/strawberry/object_type.py#L152-L153
> > this should make it work slightly better with py…
-
What needs doing:
- [ ] add a hook in `.pre-commit-hooks.yaml`
- [ ] add an example in `docs/examples.rst`
- [ ] add dependency to `requirements-dev.txt`
- [ ] add a new test in `tests/tools` (s…
-
### Check for existing issues
- [X] Completed
### Describe the bug / provide steps to reproduce it
- A missing colon that Pyright detects as an error isn't highlighted in the editor.
- Hitting the…
-
My django project structure is something like that:
```
django-project/
.venv/
manage.py
project/
settings.py
bar/
__init__.py
models/
…
-
### Description
Love the inline type-checking in VSCode, and would love to see it here as well.
### Suggested solution
Add pyright type-checking and underlining.
### Alternative
_No response_
#…
-
As soon as overloads are defined for `__new__` or `__init__` reportInconsistentConstructor will be triggered, even if the overloads are identical.
Code sample in [pyright playground](https://pyrigh…
-
**Describe the bug**
I was working on creating a [fully-typed decorator that supports functions and methods in the bound and unbound formats](https://gist.github.com/CGamesPlay/d3f72fca787b16b879efb0…
-
When pyright does a release, we create a PR, with a separate action to merge it into main. The only complication is that merge PR's are banned.
-
Having users directed to the `attrs` issue tracker with `pyright` type-checking issues described as bugs in attrs doesn't feel great.
_Originally posted by @hynek in https://github.com/python-attrs…