Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasst committed Feb 14, 2024
1 parent e7bbc23 commit 13f0b81
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
24 changes: 12 additions & 12 deletions tasktiger/executor.py
@@ -1,3 +1,15 @@
import errno
import fcntl
import os
import random
import select
import signal
import socket
import sys
import threading
import time
import traceback
from contextlib import ExitStack
from typing import (
TYPE_CHECKING,
Any,
Expand All @@ -7,18 +19,6 @@
List,
Optional,
)
from contextlib import ExitStack
import errno
import fcntl
import signal
import random
import os
import select
import socket
import sys
import time
import threading
import traceback

from redis.exceptions import LockError
from redis.lock import Lock
Expand Down
6 changes: 1 addition & 5 deletions tasktiger/worker.py
Expand Up @@ -34,11 +34,7 @@
queue_matches,
serialize_retry_method,
)
from .exceptions import (
StopRetry,
TaskImportError,
TaskNotFound,
)
from .exceptions import StopRetry, TaskImportError, TaskNotFound
from .executor import ForkExecutor
from .redis_semaphore import Semaphore
from .runner import get_runner_class
Expand Down

0 comments on commit 13f0b81

Please sign in to comment.