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 Jul 4, 2024
1 parent 6ace6bb commit a661a4d
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pysqa/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"""Git implementation of _version.py."""

import errno
import functools
import os
import re
import subprocess
import sys
from typing import Any, Callable, Dict, List, Optional, Tuple
import functools


def get_keywords() -> Dict[str, str]:
Expand Down
2 changes: 1 addition & 1 deletion pysqa/executor/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
from pysqa.executor.backend import command_line

from pysqa.executor.backend import command_line

if __name__ == "__main__":
command_line(arguments_lst=sys.argv[1:])
7 changes: 4 additions & 3 deletions pysqa/executor/backend.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import os
from typing import Optional
import sys
from typing import Optional

from pympipool import Executor

from pysqa.executor.helper import (
read_from_file,
deserialize,
write_to_file,
read_from_file,
serialize_result,
write_to_file,
)


Expand Down
8 changes: 5 additions & 3 deletions pysqa/executor/executor.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import os
import queue
from concurrent.futures import Executor as FutureExecutor
from concurrent.futures import Future
from typing import Optional
from concurrent.futures import Future, Executor as FutureExecutor

from pympipool.shared import cancel_items_in_queue, RaisingThread
from pympipool.shared import RaisingThread, cancel_items_in_queue

from pysqa.executor.helper import (
reload_previous_futures,
find_executed_tasks,
reload_previous_futures,
serialize_funct,
write_to_file,
)
Expand Down
4 changes: 2 additions & 2 deletions pysqa/executor/helper.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import hashlib
import os
import re
import queue
import re
from concurrent.futures import Future

import hashlib
import cloudpickle


Expand Down
1 change: 1 addition & 0 deletions pysqa/ext/modular.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# coding: utf-8
# Copyright (c) Jan Janssen
from typing import Optional

import pandas

from pysqa.utils.basic import BasisQueueAdapter
Expand Down
3 changes: 2 additions & 1 deletion pysqa/queueadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
# Copyright (c) Jan Janssen

import os
import pandas
from typing import Optional

import pandas

from pysqa.ext.modular import ModularQueueAdapter
from pysqa.utils.basic import BasisQueueAdapter
from pysqa.utils.config import read_config
Expand Down
2 changes: 1 addition & 1 deletion pysqa/utils/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import importlib
import os
import re
from typing import Optional, List
from typing import List, Optional

import pandas
from jinja2 import Template
Expand Down

0 comments on commit a661a4d

Please sign in to comment.