From 29b84b453be5bf1ab4ba0f40bae33bc5057e42c7 Mon Sep 17 00:00:00 2001 From: Hemna Date: Wed, 6 Jul 2022 19:39:41 -0400 Subject: [PATCH] Fixed pep8 errors --- aprsd/threads/__init__.py | 6 +++--- aprsd/threads/keep_alive.py | 1 + aprsd/threads/rx.py | 1 - aprsd/utils/__init__.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aprsd/threads/__init__.py b/aprsd/threads/__init__.py index 0927235..fd4da3b 100644 --- a/aprsd/threads/__init__.py +++ b/aprsd/threads/__init__.py @@ -2,9 +2,9 @@ import queue # Make these available to anyone importing # aprsd.threads -from .aprsd import APRSDThread, APRSDThreadList -from .keep_alive import KeepAliveThread -from .rx import APRSDRXThread +from .aprsd import APRSDThread, APRSDThreadList # noqa: F401 +from .keep_alive import KeepAliveThread # noqa: F401 +from .rx import APRSDRXThread # noqa: F401 rx_msg_queue = queue.Queue(maxsize=20) diff --git a/aprsd/threads/keep_alive.py b/aprsd/threads/keep_alive.py index b838665..cc96f67 100644 --- a/aprsd/threads/keep_alive.py +++ b/aprsd/threads/keep_alive.py @@ -9,6 +9,7 @@ from aprsd.threads import APRSDThread, APRSDThreadList LOG = logging.getLogger("APRSD") + class KeepAliveThread(APRSDThread): cntr = 0 checker_time = datetime.datetime.now() diff --git a/aprsd/threads/rx.py b/aprsd/threads/rx.py index f9c1cb5..d0b8617 100644 --- a/aprsd/threads/rx.py +++ b/aprsd/threads/rx.py @@ -10,7 +10,6 @@ from aprsd.threads import APRSDThread LOG = logging.getLogger("APRSD") - class APRSDRXThread(APRSDThread): def __init__(self, msg_queues, config): super().__init__("RX_MSG") diff --git a/aprsd/utils/__init__.py b/aprsd/utils/__init__.py index ae5eef4..02042f9 100644 --- a/aprsd/utils/__init__.py +++ b/aprsd/utils/__init__.py @@ -9,10 +9,10 @@ import update_checker import aprsd -from .fuzzyclock import fuzzy +from .fuzzyclock import fuzzy # noqa: F401 # Make these available by anyone importing # aprsd.utils -from .ring_buffer import RingBuffer +from .ring_buffer import RingBuffer # noqa: F401 def env(*vars, **kwargs):