Skip to content

Commit

Permalink
Bump mypy from 0.910 to 1.8.0 in /semantic-conventions (#250)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Mar 12, 2024
1 parent b6d52b9 commit 0f96bd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions semantic-conventions/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
black==24.2.0
mypy==0.910
mypy==1.8.0
pytest==8.1.1
flake8==7.0.0
pylint==3.1.0
isort==5.13.2
isort==5.13.2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

from dataclasses import dataclass, replace
from typing import List, Tuple
from typing import Tuple

from ruamel.yaml.comments import CommentedSeq

Expand Down Expand Up @@ -52,7 +52,7 @@ def __eq__(self, other):
def __hash__(self):
return hash(self.choice_list_ids)

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

def inherit_anyof(self):
Expand Down

0 comments on commit 0f96bd3

Please sign in to comment.