mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 07:58:04 +00:00
a51597920b
Using some of the builtins is just fine, we don't have to warn about using filter or map, since it imposes a split opinion, that can't be easily be agreed with in certain cases, leading to the disabling of the check. As such, is far more suited to remove the check.
12 lines
280 B
Python
12 lines
280 B
Python
"""Contains both normal error messages and Python3 porting error messages."""
|
|
# pylint: disable=too-few-public-methods
|
|
|
|
raise Exception, 1 # Error emitted here with the Python 3 checker.
|
|
|
|
|
|
class Test(object):
|
|
"""dummy"""
|
|
|
|
def __init__(self):
|
|
return 42
|