mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 18:21:31 +00:00
Fix pylint warnings
This commit is contained in:
parent
810f6d5297
commit
28f09086a2
@ -1,9 +1,10 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
from contextlib import suppress
|
from contextlib import suppress
|
||||||
|
|
||||||
from tfw.builtins.message_sender import MessageSender
|
|
||||||
from tfw.event_handlers import FrontendEventHandlerBase
|
from tfw.event_handlers import FrontendEventHandlerBase
|
||||||
|
|
||||||
|
from .message_sender import MessageSender
|
||||||
|
|
||||||
|
|
||||||
class FrontendEventHandler(FrontendEventHandlerBase):
|
class FrontendEventHandler(FrontendEventHandlerBase):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from tfw.networking import Scope
|
from tfw.networking import Scope
|
||||||
from tfw.event_handlers import FrontendEventHandlerBase, TFWServerUplinkConnector
|
from tfw.event_handlers import FrontendEventHandlerBase
|
||||||
from tfw.components import FileManager
|
from tfw.components import FileManager
|
||||||
from tfw.components.inotify import InotifyObserver
|
from tfw.components.inotify import InotifyObserver
|
||||||
|
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from os.path import dirname
|
|
||||||
from tfw.networking import Scope
|
from tfw.networking import Scope
|
||||||
from tfw.event_handlers import FrontendEventHandlerBase, TFWServerUplinkConnector
|
from tfw.event_handlers import FrontendEventHandlerBase
|
||||||
from tfw.components.inotify import InotifyObserver
|
from tfw.components.inotify import InotifyObserver
|
||||||
from tfw.mixins.supervisor_mixin import SupervisorLogMixin
|
from tfw.mixins.supervisor_mixin import SupervisorLogMixin
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ from tempfile import TemporaryDirectory
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from file_manager import FileManager
|
from .file_manager import FileManager
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class ManagerContext:
|
class ManagerContext:
|
||||||
|
@ -5,13 +5,11 @@ from pwd import getpwnam
|
|||||||
from grp import getgrnam
|
from grp import getgrnam
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from os import chown
|
from os import chown
|
||||||
from os.path import dirname
|
|
||||||
from re import findall
|
from re import findall
|
||||||
from re import compile as compileregex
|
from re import compile as compileregex
|
||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
from tfw.components.inotify import InotifyObserver
|
from tfw.components.inotify import InotifyObserver
|
||||||
from tfw.event_handlers import TFWServerUplinkConnector
|
|
||||||
|
|
||||||
|
|
||||||
class HistoryMonitor(ABC, InotifyObserver):
|
class HistoryMonitor(ABC, InotifyObserver):
|
||||||
|
Loading…
Reference in New Issue
Block a user