deprecated-pragma / I0022ΒΆ

Message emitted:

Pragma "%s" is deprecated, use "%s" instead


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


This message is disabled by default. To enable it, add deprecated-pragma to the enable option.


By default, this message will not fail the execution (pylint will return 0). To make pylint fail for this message use the --fail-on=I0022 option or --fail-on=I to fail on all enabled informational messages.

Problematic code:

# pylint: disable-msg=eval-used # [deprecated-pragma]

Correct code:

# pylint: disable = eval-used

Created by the main checker.