From 6d9ec3138cb7ac71466a8255266dec13dfe0e420 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Wed, 18 Jul 2018 10:50:42 +0100 Subject: [PATCH] In lint we trust Quieten pylint with regard to import order. --- wa/utils/misc.py | 2 +- wa/utils/serializer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wa/utils/misc.py b/wa/utils/misc.py index 8b875991..b1e3cf55 100644 --- a/wa/utils/misc.py +++ b/wa/utils/misc.py @@ -41,8 +41,8 @@ else: from itertools import chain, cycle from distutils.spawn import find_executable # pylint: disable=no-name-in-module, import-error -from dateutil import tz import yaml +from dateutil import tz # pylint: disable=wrong-import-order from devlib.exception import TargetError diff --git a/wa/utils/serializer.py b/wa/utils/serializer.py index b843b1bb..e3b3b548 100644 --- a/wa/utils/serializer.py +++ b/wa/utils/serializer.py @@ -62,7 +62,7 @@ import json as _json from collections import OrderedDict from datetime import datetime import dateutil.parser -import yaml as _yaml +import yaml as _yaml # pylint: disable=wrong-import-order # pylint: disable=redefined-builtin from past.builtins import basestring # pylint: disable=wrong-import-order