Skip to content

Commit 0f96bd3

Browse files
Bump mypy from 0.910 to 1.8.0 in /semantic-conventions (#250)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b6d52b9 commit 0f96bd3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
black==24.2.0
2-
mypy==0.910
2+
mypy==1.8.0
33
pytest==8.1.1
44
flake8==7.0.0
55
pylint==3.1.0
6-
isort==5.13.2
6+
isort==5.13.2

semantic-conventions/src/opentelemetry/semconv/model/constraints.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
from dataclasses import dataclass, replace
16-
from typing import List, Tuple
16+
from typing import Tuple
1717

1818
from ruamel.yaml.comments import CommentedSeq
1919

@@ -52,7 +52,7 @@ def __eq__(self, other):
5252
def __hash__(self):
5353
return hash(self.choice_list_ids)
5454

55-
def add_attributes(self, attr: List[SemanticAttribute]):
55+
def add_attributes(self, attr: Tuple[SemanticAttribute]):
5656
self.choice_list_attributes += (attr,)
5757

5858
def inherit_anyof(self):

0 commit comments

Comments
 (0)