Skip to content

Commit

Permalink
suppress new lint checks in old code
Browse files Browse the repository at this point in the history
  • Loading branch information
aswaterman committed Oct 31, 2024
1 parent 51de008 commit a1ca6c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debug/testlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def compile(args): # pylint: disable=redefined-builtin
class Spike:
# pylint: disable=too-many-instance-attributes
# pylint: disable=too-many-locals
# pylint: disable=too-many-positional-arguments
def __init__(self, target, halted=False, timeout=None, with_jtag_gdb=True,
isa=None, progbufsize=None, dmi_rti=None, abstract_rti=None,
support_hasel=True, support_abstract_csr=True,
Expand Down Expand Up @@ -300,6 +301,7 @@ def __del__(self):
class Openocd:
# pylint: disable=too-many-instance-attributes
# pylint: disable-next=consider-using-with
# pylint: disable=too-many-positional-arguments
logfile = tempfile.NamedTemporaryFile(prefix='openocd', suffix='.log')
logname = logfile.name

Expand Down Expand Up @@ -717,6 +719,7 @@ class Gdb:
11, 149, 107, 163, 73, 47, 43, 173, 7, 109, 101, 103, 191, 2, 139,
97, 193, 157, 3, 29, 79, 113, 5, 89, 19, 37, 71, 179, 59, 137, 53)

# pylint: disable=too-many-positional-arguments
def __init__(self, target, ports, cmd=None, timeout=60, binaries=None,
logremote=False):
assert ports
Expand Down

0 comments on commit a1ca6c1

Please sign in to comment.