Skip to content

Commit 08818b9

Browse files
committed
Ignore pylints false positive import-self
pylint incorrectly complains about import-self on importing `apport` in `data/apport`. See pylint-dev/pylint#7093 Signed-off-by: Benjamin Drung <[email protected]>
1 parent 9a71e65 commit 08818b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data/apport

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ import sys
3737
import time
3838
import traceback
3939

40-
import apport
40+
# False positive, see https://github.com/PyCQA/pylint/issues/7093
41+
import apport # pylint: disable=import-self
4142
import apport.fileutils
4243

4344
#################################################################

0 commit comments

Comments
 (0)