mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
20 lines
191 B
Python
20 lines
191 B
Python
|
"""check operator use"""
|
||
|
#pylint: disable-msg=C0103
|
||
|
#pylint: disable-msg=W0104
|
||
|
|
||
|
__revision__ = 42
|
||
|
|
||
|
a = 1
|
||
|
a += 5
|
||
|
a = +a
|
||
|
b = ++a
|
||
|
++a
|
||
|
c = (++a) * b
|
||
|
|
||
|
a = 1
|
||
|
a -= 5
|
||
|
b = --a
|
||
|
b = a
|
||
|
--a
|
||
|
c = (--a) * b
|