Skip to content

Commit

Permalink
Ignore pylints false positive import-self
Browse files Browse the repository at this point in the history
pylint incorrectly complains about import-self on importing `apport` in
`data/apport`.

See pylint-dev/pylint#7093
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
  • Loading branch information
bdrung committed Jul 18, 2022
1 parent 9a71e65 commit 08818b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/apport
Original file line number Diff line number Diff line change
Expand Up @@ -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

#################################################################
Expand Down

0 comments on commit 08818b9

Please sign in to comment.