Skip to content

Commit dc13f1b

Browse files
black
1 parent 3974ec1 commit dc13f1b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/functional/u/unidiomatic_typecheck.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def parameter_shadowing_inference_negatives(type):
6161
type(42) in [int]
6262
type(42) not in [int]
6363

64-
def deliberate_subclass_check_negatives(a,b):
64+
65+
def deliberate_subclass_check_negatives(a, b):
6566
type(42) is type(b)
6667
type(42) is not type(b)
6768
type(42) == type(b)
@@ -71,8 +72,9 @@ def deliberate_subclass_check_negatives(a,b):
7172
type(a) == type(b)
7273
type(a) != type(b)
7374

75+
7476
def type_of_literals_positives(a):
75-
type(a) is type([]) # [unidiomatic-typecheck]
77+
type(a) is type([]) # [unidiomatic-typecheck]
7678
type(a) is not type([]) # [unidiomatic-typecheck]
7779
type(a) is type({}) # [unidiomatic-typecheck]
7880
type(a) is not type({}) # [unidiomatic-typecheck]

0 commit comments

Comments
 (0)