Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
KEggensperger committed Jul 16, 2021
1 parent 41ed851 commit cb20f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smac/optimizer/smbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def _incorporate_run_results(self, run_info: RunInfo, result: RunValue,
for callback in self._callbacks['_incorporate_run_results']:
callback(smbo=self, run_info=run_info, result=result, time_left=time_left)

if self.scenario.save_results_instantly:
if self.scenario.save_results_instantly: # type: ignore[attr-defined] # noqa F821
self.save()

return
Expand Down

0 comments on commit cb20f51

Please sign in to comment.