Skip to content

Commit 2bf45a0

Browse files
committed
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 <daniel.leung@intel.com>
1 parent ae2c244 commit 2bf45a0

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)