mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
0bc45e9037
* Use config initialization of ``_ArgumentsManager`` * Allow ``BaseChecker`` to register on a ``_ArgumentsManager`` * Use the ``argparse`` config handler in ``logging.py`` and add tests
14 lines
516 B
Python
14 lines
516 B
Python
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
|
|
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
|
|
|
|
|
|
class UnrecognizedArgumentAction(Exception):
|
|
"""Raised if an ArgumentManager instance tries to add an argument for which the action
|
|
is not recognized.
|
|
"""
|
|
|
|
|
|
class MissingArgumentManager(Exception):
|
|
"""Raised if an ArgumentManager instance to register options to is missing."""
|