mirror of https://github.com/craigerl/aprsd.git
Fixed pep8 errors
This commit is contained in:
parent
347a6d69f7
commit
29b84b453b
|
@ -2,9 +2,9 @@ import queue
|
||||||
|
|
||||||
# Make these available to anyone importing
|
# Make these available to anyone importing
|
||||||
# aprsd.threads
|
# aprsd.threads
|
||||||
from .aprsd import APRSDThread, APRSDThreadList
|
from .aprsd import APRSDThread, APRSDThreadList # noqa: F401
|
||||||
from .keep_alive import KeepAliveThread
|
from .keep_alive import KeepAliveThread # noqa: F401
|
||||||
from .rx import APRSDRXThread
|
from .rx import APRSDRXThread # noqa: F401
|
||||||
|
|
||||||
|
|
||||||
rx_msg_queue = queue.Queue(maxsize=20)
|
rx_msg_queue = queue.Queue(maxsize=20)
|
||||||
|
|
|
@ -9,6 +9,7 @@ from aprsd.threads import APRSDThread, APRSDThreadList
|
||||||
|
|
||||||
LOG = logging.getLogger("APRSD")
|
LOG = logging.getLogger("APRSD")
|
||||||
|
|
||||||
|
|
||||||
class KeepAliveThread(APRSDThread):
|
class KeepAliveThread(APRSDThread):
|
||||||
cntr = 0
|
cntr = 0
|
||||||
checker_time = datetime.datetime.now()
|
checker_time = datetime.datetime.now()
|
||||||
|
|
|
@ -10,7 +10,6 @@ from aprsd.threads import APRSDThread
|
||||||
LOG = logging.getLogger("APRSD")
|
LOG = logging.getLogger("APRSD")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class APRSDRXThread(APRSDThread):
|
class APRSDRXThread(APRSDThread):
|
||||||
def __init__(self, msg_queues, config):
|
def __init__(self, msg_queues, config):
|
||||||
super().__init__("RX_MSG")
|
super().__init__("RX_MSG")
|
||||||
|
|
|
@ -9,10 +9,10 @@ import update_checker
|
||||||
|
|
||||||
import aprsd
|
import aprsd
|
||||||
|
|
||||||
from .fuzzyclock import fuzzy
|
from .fuzzyclock import fuzzy # noqa: F401
|
||||||
# Make these available by anyone importing
|
# Make these available by anyone importing
|
||||||
# aprsd.utils
|
# aprsd.utils
|
||||||
from .ring_buffer import RingBuffer
|
from .ring_buffer import RingBuffer # noqa: F401
|
||||||
|
|
||||||
|
|
||||||
def env(*vars, **kwargs):
|
def env(*vars, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue