.. _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*


**Correct code:**

.. literalinclude:: /data/messages/d/deprecated-pragma/good.py
   :language: python

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !


Created by the `main <https://github.com/PyCQA/pylint/blob/main/pylint/lint/pylinter.py>`__ checker.