Skip to content

Commit

Permalink
lints the registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Bartels committed Aug 10, 2024
1 parent bb151f7 commit d73eb92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/poli/core/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ def register_isolated_function(
):
if name == _OBSERVER:
raise RuntimeError(
"The name "
+ name
+ " is a reserved keyword. Please choose another name."
"The name " + name + " is a reserved keyword. Please choose another name."
)
if "conda_environment_location" in kwargs:
conda_environment_name = kwargs["conda_environment_location"]
Expand Down

0 comments on commit d73eb92

Please sign in to comment.