Skip to content

Commit b980f88

Browse files
authored
Merge branch 'main' into better-exception-handling-3762
2 parents 2d004dc + 0d429d1 commit b980f88

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Fix python 3.12 deprecation warning
1111
([#3751](https://github.com/open-telemetry/opentelemetry-python/pull/3751))
12+
- bump mypy to 0.982
13+
([#3776](https://github.com/open-telemetry/opentelemetry-python/pull/3776))
1214
- Make span.record_exception more robust
1315
([#3778](https://github.com/open-telemetry/opentelemetry-python/pull/3778))
1416

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ flake8==6.1.0
33
isort==5.12.0
44
black==22.3.0
55
httpretty==1.1.4
6-
mypy==0.931
6+
mypy==0.982
77
sphinx==7.1.2
88
sphinx-rtd-theme==2.0.0rc4
99
sphinx-autodoc-typehints==1.25.2

opentelemetry-api/src/opentelemetry/context/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _load_runtime_context(func: _F) -> _F:
3939
"""
4040

4141
@wraps(func) # type: ignore[misc]
42-
def wrapper( # type: ignore[misc]
42+
def wrapper(
4343
*args: typing.Tuple[typing.Any, typing.Any],
4444
**kwargs: typing.Dict[typing.Any, typing.Any],
4545
) -> typing.Optional[typing.Any]:

opentelemetry-api/src/opentelemetry/trace/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def start_span(self, *args, **kwargs) -> Span: # type: ignore
432432
return self._tracer.start_span(*args, **kwargs) # type: ignore
433433

434434
@contextmanager # type: ignore
435-
def start_as_current_span(self, *args, **kwargs) -> Iterator[Span]: # type: ignore
435+
def start_as_current_span(self, *args, **kwargs) -> Iterator[Span]:
436436
with self._tracer.start_as_current_span(*args, **kwargs) as span: # type: ignore
437437
yield span
438438

scripts/generate_website_docs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
set -e
3+
24
# this script generates the documentation required for
35
# opentelemetry.io
46

scripts/semconv/generate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
45
ROOT_DIR="${SCRIPT_DIR}/../../"

0 commit comments

Comments
 (0)