File tree Expand file tree Collapse file tree 4 files changed +13
-12
lines changed Expand file tree Collapse file tree 4 files changed +13
-12
lines changed Original file line number Diff line number Diff line change
1
+ # They raise ModuleNotFoundError so they are not present at stubtest runtime:
1
2
opentracing.harness.api_check
2
3
opentracing.harness.scope_check
3
4
opentracing.scope_managers.gevent
Original file line number Diff line number Diff line change 1
1
version = " 2.4.*"
2
2
upstream_repository = " https://github.com/opentracing/opentracing-python"
3
- partial_stub = true
4
-
5
- [tool .stubtest ]
6
- ignore_missing_stub = true
Original file line number Diff line number Diff line change 1
- ERROR_KIND : str
2
- ERROR_OBJECT : str
3
- EVENT : str
4
- MESSAGE : str
5
- STACK : str
1
+ from typing import Final
2
+
3
+ ERROR_KIND : Final = "error.kind"
4
+ ERROR_OBJECT : Final = "error.object"
5
+ EVENT : Final = "event"
6
+ MESSAGE : Final = "message"
7
+ STACK : Final = "stack"
Original file line number Diff line number Diff line change
1
+ from typing import Final
2
+
1
3
class UnsupportedFormatException (Exception ): ...
2
4
class InvalidCarrierException (Exception ): ...
3
5
class SpanContextCorruptedException (Exception ): ...
4
6
5
7
class Format :
6
- BINARY : str
7
- TEXT_MAP : str
8
- HTTP_HEADERS : str
8
+ BINARY : Final = "binary"
9
+ TEXT_MAP : Final = "text_map"
10
+ HTTP_HEADERS : Final = "http_headers"
You can’t perform that action at this time.
0 commit comments