Skip to content

Commit

Permalink
Avoid nuisance mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Jul 31, 2024
1 parent 0acd856 commit ea49264
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aegea/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def launch(args):
logger.warn(msg)

class InstanceSpotFleetBuilder(SpotFleetBuilder):
def instance_types(self, **kwargs):
def instance_types(self, **kwargs): # type: ignore
yield args.instance_type, 1

spot_fleet_builder = InstanceSpotFleetBuilder(**spot_fleet_args) # type: SpotFleetBuilder
Expand Down
2 changes: 1 addition & 1 deletion aegea/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def add_time_bound_args(p, snap=0, start="-7d"):


class hashabledict(dict):
def __hash__(self):
def __hash__(self): # type: ignore
return hash(tuple(sorted(self.items())))


Expand Down

0 comments on commit ea49264

Please sign in to comment.