Remove controller stuff, tidy code based on pylint suggestions

This commit is contained in:
Kristóf Tóth
2018-07-16 11:17:06 +02:00
parent 7c13d31de0
commit a79c68515b
14 changed files with 27 additions and 81 deletions

View File

@ -33,6 +33,7 @@ class FSMManagingEventHandler(EventHandlerBase):
return data
def handle_update(self, data):
# pylint: disable=no-self-use
return data

View File

@ -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

View File

@ -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