Skip to content

Commit

Permalink
fix: Fixed a bug which prevented mypy version update (#107)
Browse files Browse the repository at this point in the history
### Summary of Changes
Fixed a bug which prevented the update from mypy version 1.8.0 to 1.9.0.

Mypy Update PR: #91
  • Loading branch information
Masara committed Apr 8, 2024
1 parent 6e696e9 commit 501d2cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/safeds_stubgen/api_analyzer/_mypy_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def has_correct_type_of_any(type_of_any: int) -> bool:
# In Mypy AnyType can be set as type because of different reasons (see TypeOfAny class-documentation)
return type_of_any in {
mp_types.TypeOfAny.explicit,
mp_types.TypeOfAny.from_omitted_generics,
mp_types.TypeOfAny.from_another_any,
mp_types.TypeOfAny.from_unimported_type,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,11 +767,6 @@
'type': dict({
'kind': 'SetType',
'types': list([
dict({
'kind': 'NamedType',
'name': 'Any',
'qname': 'typing.Any',
}),
]),
}),
}),
Expand Down

0 comments on commit 501d2cd

Please sign in to comment.