.. _locally-disabled: locally-disabled / I0011 ======================== **Message emitted:** ``Locally disabling %s (%s)`` **Description:** *Used when an inline option disables a message or a messages category.* .. caution:: This message is disabled by default. To enable it, add ``locally-disabled`` 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=I0011`` option or ``--fail-on=I`` to fail on all enabled informational messages. **Problematic code:** .. literalinclude:: /data/messages/l/locally-disabled/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/l/locally-disabled/good.py :language: python Created by the `main `__ checker.