deprecated-pragma / I0022#
Message emitted:
Pragma "%s" is deprecated, use "%s" instead
Description:
Some inline pylint options have been renamed or reworked, only the most recent form should be used. NOTE:skip-all is only available with pylint >= 0.26
Caution
This message is disabled by default. To enable it, add deprecated-pragma
to the enable
option.
Problematic code:
# pylint: disable-msg=eval-used # [deprecated-pragma]
Correct code:
# pylint: disable = eval-used
Created by the main checker.