Skip to content

Commit

Permalink
Add no-cover pragma for warnings about incomplete runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestum committed Oct 24, 2023
1 parent ecc03bf commit 27510b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imitation/util/sacred_file_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def find_sacred_runs(
continue
conf = json.loads(config_path.read_text())
yield conf, run
else:
else: # pragma: no cover
warnings.warn(f"Run {config_path.parent} has no run.json")


Expand Down

0 comments on commit 27510b5

Please sign in to comment.