File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def lru_cache(maxsize=128): # noqa as it's a fake implementation.
139
139
COMPARE_SINGLETON_REGEX = re .compile (r'(\bNone|\bFalse|\bTrue)?\s*([=!]=)'
140
140
r'\s*(?(1)|(None|False|True))\b' )
141
141
COMPARE_NEGATIVE_REGEX = re .compile (r'\b(not)\s+[^][)(}{ ]+\s+(in|is)\s' )
142
- COMPARE_TYPE_REGEX = re .compile (r'(?:[=!]=|is(?:\s+not)?)\s* type(?:s.\w+Type'
142
+ COMPARE_TYPE_REGEX = re .compile (r'(?:[=!]=|is(?:\s+not)?)\s+ type(?:s.\w+Type'
143
143
r'|\s*\(\s*([^)]*[^ )])\s*\))' )
144
144
KEYWORD_REGEX = re .compile (r'(\s*)\b(?:%s)\b(\s*)' % r'|' .join (KEYWORDS ))
145
145
OPERATOR_REGEX = re .compile (r'(?:[^,\s])(\s*)(?:[-+*/|!<=>%&^]+)(\s*)' )
Original file line number Diff line number Diff line change 49
49
pass
50
50
if type (a ) != type (b ) or type (a ) == type (ccc ):
51
51
pass
52
+ #: Okay
53
+ def func_histype (a , b , c ):
54
+ pass
52
55
#: E722
53
56
try :
54
57
pass
You can’t perform that action at this time.
0 commit comments