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 Jan 26, 2024
1 parent 5a05273 commit 41f3b8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions strax/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -1997,11 +1997,11 @@ def is_stored(self, run_id, target, **kwargs):
if isinstance(save_when, immutabledict):
save_when = save_when[target]

if save_when < 3: # 3 is SaveWhen.ALWAYS
if save_when < 3: # 3 is SaveWhen.ALWAYS
warnings.warn(
f"The plugin for target '{target}' is not set to always save data. "
f"This is probably because the data can be trivially made from other data. "
f"The plugin depends on {plugin.depends_on}. Check if these are stored."
f"The plugin for target '{target}' is not set to always save data. "
"This is probably because the data can be trivially made from other data. "
f"The plugin depends on {plugin.depends_on}. Check if these are stored."
)

return False
Expand Down

0 comments on commit 41f3b8d

Please sign in to comment.