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 28, 2024
1 parent c34fc0b commit 6c3c54f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions executorlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ def __new__(
)
elif not disable_dependencies:
if pysqa_config_directory is not None:
raise ValueError("The pysqa_config_directory is only required for the pysqa backend.")
raise ValueError(
"The pysqa_config_directory is only required for the pysqa backend."
)
return ExecutorWithDependencies(
max_workers=max_workers,
backend=backend,
Expand All @@ -215,7 +217,9 @@ def __new__(
_check_plot_dependency_graph(plot_dependency_graph=plot_dependency_graph)
_check_refresh_rate(refresh_rate=refresh_rate)
if pysqa_config_directory is not None:
raise ValueError("The pysqa_config_directory is only required for the pysqa backend.")
raise ValueError(
"The pysqa_config_directory is only required for the pysqa backend."
)
return create_executor(
max_workers=max_workers,
backend=backend,
Expand Down

0 comments on commit 6c3c54f

Please sign in to comment.