Skip to content

Commit

Permalink
utils/misc: Fix linters violation
Browse files Browse the repository at this point in the history
A mix of pylint and PEP8 violations that GitHub action enforces.
  • Loading branch information
douglas-raillard-arm authored and marcbonnici committed Jan 9, 2024
1 parent 6fe4bce commit f166ac7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion wa/framework/instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def teardown(self, context):
"""

import sys
import logging
import inspect
from collections import OrderedDict
Expand Down
2 changes: 1 addition & 1 deletion wa/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
3 changes: 1 addition & 2 deletions wa/utils/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@
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
Expand Down

0 comments on commit f166ac7

Please sign in to comment.