forked from pylint-dev/pylint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix false positive invalid-all-format
Closes pylint-dev#4711
- Loading branch information
1 parent
1dd231b
commit 3a36f1e
Showing
3 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
invalid-all-format:5:11::Invalid format for __all__, must be tuple or list | ||
invalid-all-format:5:0::Invalid format for __all__, must be tuple or list:HIGH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""Test valid __all__ format.""" | ||
|
||
# pylint: disable=import-error, unused-import | ||
|
||
from foo import bar | ||
|
||
__all__ = tuple(globals().keys()) |