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 Sep 28, 2024
1 parent 512895e commit 8f44370
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pysqa/utils/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
from jinja2 import Template
from jinja2.exceptions import TemplateSyntaxError

from pysqa.utils.core import CoreQueueAdapter
from pysqa.utils.execute import execute_command
from pysqa.utils.queues import Queues
from pysqa.utils.validate import value_error_if_none, value_in_range
from pysqa.utils.core import CoreQueueAdapter


class BasisQueueAdapter(CoreQueueAdapter):
Expand All @@ -38,8 +38,7 @@ def __init__(
execute_command: callable = execute_command,
):
super().__init__(
queue_type=config["queue_type"],
execute_command=execute_command
queue_type=config["queue_type"], execute_command=execute_command
)
self._config = config
self._fill_queue_dict(queue_lst_dict=self._config["queues"])
Expand Down
2 changes: 1 addition & 1 deletion pysqa/utils/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(
self._commands = get_queue_commands(queue_type=queue_type)
self._submission_template = getattr(
importlib.import_module(queue_type_dict[queue_type]["module_name"]),
"template"
"template",
)
self._execute_command_function = execute_command

Expand Down

0 comments on commit 8f44370

Please sign in to comment.