From 08818b999378c80ca27f324d9e49ca7a4317406f Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 18 Jul 2022 17:09:28 +0200 Subject: [PATCH] Ignore pylints false positive import-self pylint incorrectly complains about import-self on importing `apport` in `data/apport`. See https://github.com/PyCQA/pylint/issues/7093 Signed-off-by: Benjamin Drung --- data/apport | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/apport b/data/apport index 07a31503f..8fce3a9fb 100755 --- a/data/apport +++ b/data/apport @@ -37,7 +37,8 @@ import sys import time import traceback -import apport +# False positive, see https://github.com/PyCQA/pylint/issues/7093 +import apport # pylint: disable=import-self import apport.fileutils #################################################################