-
Type stubs can be provided in separate packages. For example, a package `foo` has a companion package `types-foo` or `foo-stubs`.
With poetry, a typical _pyproject.toml_ file looks like this:
``…
-
Part of https://github.com/mglaman/phpstan-drupal/issues/359. See [PHPStan documentation on Stub Files](https://phpstan.org/user-guide/stub-files).
Create stub files for the following field types i…
-
https://mypy.readthedocs.io/en/stable/stubs.html#stub-files
-
Ophyd's documentation claims that Ophyd "[puts] the details specific to a device or control system behind a high-level interface with methods like trigger(), read(), and set(...)", however many of the…
-
### What happened + What you expected to happen
Given the types already exist on the function, the type stubs aren't needed and are incorrect.
eg:
The [type stubs for list_all](https://github.c…
-
The Django stubs that ship with the Pylance VSCode extension are out of date, and take precedence over stubs installed in the local environment.
## Environment data
- Language Se…
-
This is a great looking library. Do you have any interest in providing type stubs for it? (Via https://www.python.org/dev/peps/pep-0561/)
-
This is a C wrapper, so understandably a lot of the arguments and types are unknown to Python.
This can be solved (at least for IDE users) by providing type stubs, which are basically like Python hea…
-
### Contact Details (Optional)
johan.erlands@idainfront.se
### What happened?
When using generated service stubs you get an list of filters. The list is empty untill you write `?filter=bar&filter=f…
-
Overriding existing types and monkey patching sounds based.
```pyi
@extension[str]
class StrExtension:
foo: int
"asdf".foo + 1
```
While often frowned upon(just fix it at the source),…