Skip to content

Commit 67e6720

Browse files
dcpleungnashif
authored andcommitted
coredump: gdbstubs: x86: disable pylint duplicate code warnings
This disables the duplicate code warnings on x86 and x86_64 gdbstubs. The exception vector tables may look the same now but can deviate depending on supported features on architecture. Signed-off-by: Daniel Leung <[email protected]>
1 parent 3b39e3d commit 67e6720

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/coredump/gdbstubs/arch/x86.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Copyright (c) 2020 Intel Corporation
44
#
55
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
# pylint: disable=duplicate-code
68

79
import binascii
810
import logging

scripts/coredump/gdbstubs/arch/x86_64.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Copyright (c) 2020 Intel Corporation
44
#
55
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
# pylint: disable=duplicate-code
68

79
import binascii
810
import logging

0 commit comments

Comments
 (0)