Skip to content

Commit

Permalink
data/apport: Silence pylint false positives
Browse files Browse the repository at this point in the history
pylint fails to import the `apport` module for `data/apport`, because it
has the same name. See bug pylint-dev/pylint#7093

Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
  • Loading branch information
bdrung committed Jun 29, 2022
1 parent 1842ba2 commit 613cbd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/apport
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 613cbd2

Please sign in to comment.