mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
utils/misc: Fix linters violation
A mix of pylint and PEP8 violations that GitHub action enforces.
This commit is contained in:
parent
6fe4bce68d
commit
f166ac742e
@ -98,7 +98,6 @@ and the code to clear these file goes in teardown method. ::
|
||||
|
||||
"""
|
||||
|
||||
import sys
|
||||
import logging
|
||||
import inspect
|
||||
from collections import OrderedDict
|
||||
|
@ -289,7 +289,7 @@ def get_article(word):
|
||||
in all case; e.g. this will return ``"a hour"``.
|
||||
|
||||
"""
|
||||
return'an' if word[0] in 'aoeiu' else 'a'
|
||||
return 'an' if word[0] in 'aoeiu' else 'a'
|
||||
|
||||
|
||||
def get_random_string(length):
|
||||
|
@ -29,15 +29,14 @@ import os
|
||||
import re
|
||||
import numbers
|
||||
import shlex
|
||||
import sys
|
||||
from bisect import insort
|
||||
from urllib.parse import quote, unquote # pylint: disable=no-name-in-module, import-error
|
||||
from past.builtins import basestring # pylint: disable=redefined-builtin
|
||||
# pylint: disable=wrong-import-position
|
||||
from collections import defaultdict
|
||||
from collections.abc import MutableMapping
|
||||
from functools import total_ordering
|
||||
|
||||
from past.builtins import basestring # pylint: disable=redefined-builtin
|
||||
from future.utils import with_metaclass
|
||||
|
||||
from devlib.utils.types import identifier, boolean, integer, numeric, caseless_string
|
||||
|
Loading…
x
Reference in New Issue
Block a user