From 9eede5f80e97ee8c6eec36542bafe511072065b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 10 May 2018 17:07:25 +0200 Subject: [PATCH] Silence pylint's unjust accusations --- .pylintrc | 5 +++++ solvable/src/event_handler_main.py | 1 - solvable/src/tfw_server.py | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .pylintrc diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..7fb46c0 --- /dev/null +++ b/.pylintrc @@ -0,0 +1,5 @@ +[TYPECHECK] + +ignored-modules = zmq +max-line-length = 150 +disable = missing-docstring, too-few-public-methods, invalid-name diff --git a/solvable/src/event_handler_main.py b/solvable/src/event_handler_main.py index 46d5687..bb1ab56 100644 --- a/solvable/src/event_handler_main.py +++ b/solvable/src/event_handler_main.py @@ -54,7 +54,6 @@ class TestCommands(TerminalCommands): if __name__ == '__main__': - # pylint: disable=invalid-name ide = IdeEventHandler(key='ide', allowed_directories=[TFWENV.IDE_WD, TFWENV.WEBSERVICE_DIR], directory=TFWENV.IDE_WD, exclude=['*.pyc']) terminado = TerminalEventHandler(key='shell', monitor=BashMonitor(TFWENV.HISTFILE)) diff --git a/solvable/src/tfw_server.py b/solvable/src/tfw_server.py index 98fea00..b61a9a4 100644 --- a/solvable/src/tfw_server.py +++ b/solvable/src/tfw_server.py @@ -11,7 +11,6 @@ LOG = logging.getLogger(__name__) if __name__ == '__main__': - # pylint: disable=invalid-name FiveStepTestFSM = partial(TestFSM, 5) TFWServer(FiveStepTestFSM).listen(TFWENV.WEB_PORT)