typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Collection of library stubs for Python, with static types

Results 615 typeshed issues
Sort by recently updated
recently updated
newest added

This allows adding type annotations to structures and unions that resolve to the underlying types when accessed inside structures. I don't know how to make proper tests for this, so...

https://github.com/ecordell/pymacaroons

Currently `InlineProcessor` and every subclass of it violates the `override` rule as per Liskov Substitution Principle. Signature of "handleMatch" incompatible with supertype "Pattern" [override] Superclass: def handleMatch(self, m: Match[str]) ->...

Release: https://pypi.org/pypi/waitress/3.0.0 Homepage: https://github.com/Pylons/waitress Repository: https://github.com/Pylons/waitress Changelog: https://docs.pylonsproject.org/projects/waitress/en/latest/index.html#change-history Diff: https://github.com/Pylons/waitress/compare/v2.1.2...v3.0.0 Stubsabot analysis of the diff between the two releases: - Total lines of Python code added: 104. - Total lines...

stubsabot

`array.array` inheriting from `MutableSequence` has some unintended consequences, such as below ```py import array x = array.array("B") x.clear() ``` At runtime `array.array` does not have `.clear()`. Is it meant to...

stubs: false negative

Release: https://pypi.org/pypi/braintree/4.26.0 Homepage: https://developer.paypal.com/braintree/docs/reference/overview Repository: https://github.com/braintree/braintree_python Diff: https://github.com/braintree/braintree_python/compare/4.25.0...4.26.0 Stubsabot analysis of the diff between the two releases: - 2 public Python files have been added: `braintree/package_details.py`, `tests/integration/test_package_tracking.py`. - 0 files...

stubsabot

`Point` being a `Tuple` of `float` it does not match the actual behavior of the `position()` function: ```python def position(x=None, y=None): """ Returns the current xy coordinates of the mouse...

when configuring pre-commit mypy to run with `types-protobuf`, for example: ``` - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.8.0 hooks: - id: mypy additional_dependencies: - types-protobuf ``` it fails with the following: ```...