I would like to disable a warning in pylint and also say why I'm disabling it:
from typing import Union, NoReturn, Optional # pylint: disable=unused-import (unused because hack for forward declaration!)
But this gives me the error:
bad-option-value: Bad option value 'declaration'
Is there a way to comment/provide context on why a warning is disabled? Or does it have to be on another line in order to do that?