Commit Graph

7 Commits

Author SHA1 Message Date
Alex Waygood
96c9abb058 Always use _typeshed.Self, where applicable (#6880)
* Always use `_typeshed.Self`, where applicable

* Revert changes to `google-cloud-ndb` (ambiguous)

* Remove empty line added by script

* Revert changes to `stubs/python-dateutil/dateutil/relativedelta.pyi`

* Manually add a few more that the script missed

* Improve `filelock` annotation

Source code here: 79ec7b2826/src/filelock/_api.py (L207)

* Improve `opentracing/scope` annotation

Source code here: 3e1d357a34/opentracing/scope.py (L71)

* Improve `redis/client` stub

Source code here: 15f315a496/redis/client.py (L1217)

* Improve `redis/lock` annotation

Source code here: 15f315a496/redis/lock.py (L155)

* Improve `requests/models` annotation

Source code here: d718e75383/requests/models.py (L653)
2022-01-09 19:16:19 -08:00
Alex Waygood
a40d79a4e6 Use lowercase type everywhere (#6853) 2022-01-08 16:09:29 +01:00
kasium
65f69a1c87 Add missing context proptery to MockSpan (#6549)
The property context should return a mocked context and not a regular one
2021-12-10 11:51:18 +01:00
kasium
e2958f8ee7 Adjust opentracing return types for mocks (#6527) 2021-12-08 18:04:25 +01:00
kasium
20df1808bf Fix minor issues in opentracing (#6482) 2021-12-03 07:24:58 -08:00
kasium
9dc75772d3 Annotate remaining opentracing fields, arguments, and return types (#6476) 2021-12-03 11:41:49 +01:00
kasium
906d5f1faf Add opentracing stubs (#6473) 2021-12-02 20:55:35 +01:00