-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,134 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# UP035 | ||
from collections import Mapping | ||
|
||
from collections import Mapping as MAP | ||
|
||
from collections import Mapping, Sequence | ||
|
||
from collections import Counter, Mapping | ||
|
||
from collections import (Counter, Mapping) | ||
|
||
from collections import (Counter, | ||
Mapping) | ||
|
||
from collections import Counter, \ | ||
Mapping | ||
|
||
from collections import Counter, Mapping, Sequence | ||
|
||
from collections import Mapping as mapping, Counter | ||
|
||
if True: | ||
from collections import Mapping, Counter | ||
|
||
if True: | ||
if True: | ||
pass | ||
from collections import Mapping, Counter | ||
|
||
if True: from collections import Mapping | ||
|
||
import os | ||
from collections import Counter, Mapping | ||
import sys | ||
|
||
if True: | ||
from collections import ( | ||
Mapping, | ||
Callable, | ||
Bad, | ||
Good, | ||
) | ||
|
||
from typing import Callable, Match, Pattern, List | ||
|
||
if True: from collections import ( | ||
Mapping, Counter) | ||
|
||
# OK | ||
from a import b |
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 |
---|---|---|
|
@@ -1892,6 +1892,7 @@ | |
"UP032", | ||
"UP033", | ||
"UP034", | ||
"UP035", | ||
"W", | ||
"W2", | ||
"W29", | ||
|
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
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
Oops, something went wrong.