Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 20, 2024
1 parent d415adf commit 53b4eba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/anemoi/inference/checkpoint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,5 +206,5 @@ def validate_environment(
raise ValueError(f"Invalid value for `on_difference`: {on_difference}")
return False

LOG.info(f"Environment validation passed")
LOG.info("Environment validation passed")
return True
1 change: 0 additions & 1 deletion src/anemoi/inference/checkpoint/metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ def rounded_area(self, area):
return area

def report_loading_error(self):
import json

if "provenance_training" not in self._metadata:
return
Expand Down

0 comments on commit 53b4eba

Please sign in to comment.