.. _useless-option-value:

useless-option-value / R0022
============================

**Message emitted:**

Useless option value for '%s', %s

**Description:**

*Used when a value for an option that is now deleted from pylint is encountered.*

**Problematic code:**

.. literalinclude:: /data/messages/u/useless-option-value/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/u/useless-option-value/good.py
   :language: python

**Additional details:**

You can disable this check if you don't want to cleanup your configuration of old messages.


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