From 613cbd21895e80f0a93033177b82cd9bdcf283c8 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 30 Jun 2022 01:56:31 +0200 Subject: [PATCH] data/apport: Silence pylint false positives pylint fails to import the `apport` module for `data/apport`, because it has the same name. See bug https://github.com/PyCQA/pylint/issues/7093 Signed-off-by: Benjamin Drung --- data/apport | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/apport b/data/apport index f83de8ecd..bcadedbb2 100755 --- a/data/apport +++ b/data/apport @@ -13,6 +13,10 @@ # option) any later version. See http://www.gnu.org/copyleft/gpl.html for # the full text of the license. +# pylint fails to import the apport module, because it has the same name. +# See bug https://github.com/PyCQA/pylint/issues/7093 +# pylint: disable=c-extension-no-member,no-name-in-module,not-callable + import argparse import array import atexit