mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 20:25:12 +00:00
Remove controller stuff, tidy code based on pylint suggestions
This commit is contained in:
@ -33,6 +33,7 @@ class FSMManagingEventHandler(EventHandlerBase):
|
||||
return data
|
||||
|
||||
def handle_update(self, data):
|
||||
# pylint: disable=no-self-use
|
||||
return data
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
from os.path import isfile, join, relpath, exists, isdir, realpath
|
||||
from glob import glob
|
||||
from fnmatch import fnmatchcase
|
||||
from collections import Iterable
|
||||
from typing import Iterable
|
||||
|
||||
from tfw import EventHandlerBase
|
||||
from tfw.mixins import MonitorManagerMixin
|
||||
@ -103,7 +103,7 @@ class FileManager: # pylint: disable=too-many-instance-attributes
|
||||
|
||||
|
||||
class IdeEventHandler(EventHandlerBase, MonitorManagerMixin):
|
||||
# pylint: disable=too-many-arguments
|
||||
# pylint: disable=too-many-arguments,anomalous-backslash-in-string
|
||||
"""
|
||||
Event handler implementing the backend of our browser based IDE.
|
||||
By default all files in the directory specified in __init__ are displayed
|
||||
|
@ -11,6 +11,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TerminalCommands(ABC):
|
||||
# pylint: disable=anomalous-backslash-in-string
|
||||
"""
|
||||
A class you can use to define hooks for terminal commands. This means that you can
|
||||
have python code executed when the user enters a specific command to the terminal on
|
||||
|
Reference in New Issue
Block a user