From ba26d9cc515c52ed06bf48de3a4064b2bbcedbda Mon Sep 17 00:00:00 2001 From: herr kaste Date: Fri, 1 Feb 2019 10:44:08 +0100 Subject: [PATCH] Start importing from `typing` (and make flake happy) --- lint/linter.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lint/linter.py b/lint/linter.py index d101265b5..c3e8c9d53 100644 --- a/lint/linter.py +++ b/lint/linter.py @@ -13,6 +13,11 @@ from .const import WARNING, ERROR +MYPY = False +if MYPY: + from typing import Match + + logger = logging.getLogger(__name__)