Module: check_mk
Branch: master
Commit: 3d8d2d89baa7546c4d0ea37384d7300f9989bcfb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3d8d2d89baa754…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Sep 20 11:21:02 2018 +0200
Disable pylints unused-import warnings for all imports of the "typing" module
When we enable the unused-import warning of pylint in the future
these imports will no longer generate false positives.
Change-Id: I802171733e8fcf04ebdcbb0e5a723287f1771ed4
---
cmk/gui/i18n.py | 2 +-
cmk/gui/sidebar.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/gui/i18n.py b/cmk/gui/i18n.py
index bda2d99..e1277a3 100644
--- a/cmk/gui/i18n.py
+++ b/cmk/gui/i18n.py
@@ -27,7 +27,7 @@
import __builtin__
import os
import gettext as gettext_module
-from typing import NamedTuple, Optional, List, Tuple
+from typing import NamedTuple, Optional, List, Tuple # pylint: disable=unused-import
import cmk.paths
diff --git a/cmk/gui/sidebar.py b/cmk/gui/sidebar.py
index 4eec8f1..a52566c 100644
--- a/cmk/gui/sidebar.py
+++ b/cmk/gui/sidebar.py
@@ -34,7 +34,7 @@ import traceback
import json
import time
from enum import Enum
-from typing import Type, Union, List
+from typing import Type, Union, List # pylint: disable=unused-import
import cmk
import cmk.paths