blob: 1c49ca5341004afb6cba7b16debf8c789b0447fc (
plain)
1
2
3
4
5
6
7
8
9
10
|
"""Suspicious str.strip calls."""
# pylint: disable=redundant-u-string-prefix
''.strip('yo')
''.strip()
u''.strip('http://') # [bad-str-strip-call]
u''.lstrip('http://') # [bad-str-strip-call]
b''.rstrip('http://') # [bad-str-strip-call]
|