/opt/imh-python/lib/python3.9/site-packages/pylint
NameSizeModeActions
checkers/-0755rm
config/-0755rm
extensions/-0755rm
lint/-0755rm
message/-0755rm
pyreverse/-0755rm
reporters/-0755rm
testutils/-0755rm
utils/-0755rm
__pycache__/-0755rm
constants.py86950644editdlrm
exceptions.py17260644editdlrm
graph.py71220644editdlrm
interfaces.py11910644editdlrm
py.typed00644editdlrm
typing.py31660644editdlrm
__init__.py37710644editdlrm
__main__.py3150644editdlrm
__pkginfo__.py13590644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/pylint/interfaces.py (1191B)
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE # Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt from __future__ import annotations from typing import NamedTuple __all__ = ( "HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFINED", "CONFIDENCE_LEVELS", "CONFIDENCE_LEVEL_NAMES", ) class Confidence(NamedTuple): name: str description: str # Warning Certainties HIGH = Confidence("HIGH", "Warning that is not based on inference result.") CONTROL_FLOW = Confidence( "CONTROL_FLOW", "Warning based on assumptions about control flow." ) INFERENCE = Confidence("INFERENCE", "Warning based on inference result.") INFERENCE_FAILURE = Confidence( "INFERENCE_FAILURE", "Warning based on inference with failures." ) UNDEFINED = Confidence("UNDEFINED", "Warning without any associated confidence level.") CONFIDENCE_LEVELS = [HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, UNDEFINED] CONFIDENCE_LEVEL_NAMES = [i.name for i in CONFIDENCE_LEVELS] CONFIDENCE_MAP = {i.name: i for i in CONFIDENCE_LEVELS}