.. _deprecated-pragma: 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. .. caution:: 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:** .. literalinclude:: /data/messages/d/deprecated-pragma/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/d/deprecated-pragma/good.py :language: python Created by the `main `__ checker.