From 1cac2d340986e4663fb17d2956d64aff6968dcef Mon Sep 17 00:00:00 2001 From: Giulia Naponiello Date: May 20 2020 15:18:53 +0000 Subject: Fixing flake8 bug on `typing` Seems like there's some known issue with flake8 and typing: https://gitlab.com/pycqa/flake8/-/issues/342 Let's just ignore them. Signed-off-by: Giulia Naponiello --- diff --git a/conf/config.py b/conf/config.py index c7aa80c..5d19bfc 100644 --- a/conf/config.py +++ b/conf/config.py @@ -2,7 +2,7 @@ import os import tempfile -from typing import Optional, Tuple, Union +from typing import Optional, Tuple, Union # noqa from freshmaker.config import all_, any_ # noqa diff --git a/freshmaker/__init__.py b/freshmaker/__init__.py index a60fdcd..07401d5 100644 --- a/freshmaker/__init__.py +++ b/freshmaker/__init__.py @@ -26,7 +26,7 @@ import pkg_resources from logging import getLogger -from typing import Any +from typing import Any # noqa from flask import Flask from flask_login import LoginManager diff --git a/freshmaker/events.py b/freshmaker/events.py index 677c2d0..a890a30 100644 --- a/freshmaker/events.py +++ b/freshmaker/events.py @@ -22,7 +22,7 @@ # Written by Jan Kaluza import itertools -from typing import Dict, Any +from typing import Dict, Any # noqa from freshmaker import conf from freshmaker.types import ArtifactType diff --git a/freshmaker/parsers/__init__.py b/freshmaker/parsers/__init__.py index 578e669..0a6231f 100644 --- a/freshmaker/parsers/__init__.py +++ b/freshmaker/parsers/__init__.py @@ -22,7 +22,7 @@ # Written by Jan Kaluza import abc -from typing import List +from typing import List # noqa class BaseParser(object):