module documentation

Undocumented

Class WarningScope Undocumented
Constant DEFAULT_IGNORE_LIST Undocumented
Constant DEFAULT_PYLINT_HOME Undocumented
Constant DUNDER_METHODS Undocumented
Constant DUNDER_PROPERTIES Undocumented
Constant EXTRA_DUNDER_METHODS Undocumented
Constant HUMAN_READABLE_TYPES Undocumented
Constant INCOMPATIBLE_WITH_USELESS_SUPPRESSION Undocumented
Constant IS_PYPY Undocumented
Constant MAIN_CHECKER_NAME Undocumented
Constant MSG_STATE_CONFIDENCE Undocumented
Constant MSG_STATE_SCOPE_CONFIG Undocumented
Constant MSG_STATE_SCOPE_MODULE Undocumented
Constant MSG_TYPES Undocumented
Constant MSG_TYPES_LONG Undocumented
Constant MSG_TYPES_STATUS Undocumented
Constant OLD_DEFAULT_PYLINT_HOME Undocumented
Constant PY310_PLUS Undocumented
Constant PY38_PLUS Undocumented
Constant PY39_PLUS Undocumented
Constant PY_EXTS Undocumented
Constant PYLINT_HOME Undocumented
Constant TYPING_NEVER Undocumented
Constant TYPING_NORETURN Undocumented
Constant USER_HOME Undocumented
Variable full_version Undocumented
Function _get_pylint_home Return the pylint home.
Function _warn_about_old_home Warn users about the old pylint home being deprecated.
Constant _MSG_ORDER Undocumented
Constant _SCOPE_EXEMPT Undocumented
DEFAULT_IGNORE_LIST: tuple[str, ...] = (source)

Undocumented

Value
('CVS')
DEFAULT_PYLINT_HOME = (source)

Undocumented

Value
platformdirs.user_cache_dir('pylint')
DUNDER_METHODS: dict[tuple[int, int], dict[str, str]] = (source)

Undocumented

Value
{(0, 0): {'__init__': 'Instantiate class directly',
          '__del__': 'Use del keyword',
          '__repr__': 'Use repr built-in function',
          '__str__': 'Use str built-in function',
          '__bytes__': 'Use bytes built-in function',
          '__format__': 'Use format built-in function, format string method, or 
f-string',
...
DUNDER_PROPERTIES: list[str] = (source)

Undocumented

Value
['__class__',
 '__dict__',
 '__doc__',
 '__format__',
 '__module__',
 '__sizeof__',
 '__subclasshook__',
...
EXTRA_DUNDER_METHODS: list[str] = (source)

Undocumented

Value
['__new__',
 '__subclasses__',
 '__init_subclass__',
 '__set_name__',
 '__class_getitem__',
 '__missing__',
 '__exit__',
...
HUMAN_READABLE_TYPES: dict[str, str] = (source)

Undocumented

Value
{'file': 'file',
 'module': 'module',
 'const': 'constant',
 'class': 'class',
 'function': 'function',
 'method': 'method',
 'attr': 'attribute',
...
INCOMPATIBLE_WITH_USELESS_SUPPRESSION = (source)

Undocumented

Value
frozenset(['R0401', 'W0402', 'W1505', 'W1511', 'W1512', 'W1513', 'R0801'])

Undocumented

Value
(platform.python_implementation() == 'PyPy')
MAIN_CHECKER_NAME: str = (source)

Undocumented

Value
'main'
MSG_STATE_CONFIDENCE: int = (source)

Undocumented

Value
2
MSG_STATE_SCOPE_CONFIG: int = (source)

Undocumented

Value
0
MSG_STATE_SCOPE_MODULE: int = (source)

Undocumented

Value
1

Undocumented

Value
{'I': 'info',
 'C': 'convention',
 'R': 'refactor',
 'W': 'warning',
 'E': 'error',
 'F': 'fatal'}
MSG_TYPES_LONG: dict[str, str] = (source)

Undocumented

Value
{v: k for k, v in MSG_TYPES.items()}
MSG_TYPES_STATUS: dict[str, int] = (source)

Undocumented

Value
{'I': 0, 'C': 16, 'R': 8, 'W': 4, 'E': 2, 'F': 1}
OLD_DEFAULT_PYLINT_HOME: str = (source)

Undocumented

Value
'.pylint.d'
PY310_PLUS = (source)

Undocumented

Value
(sys.version_info[:2] >= (3, 10))
PY38_PLUS = (source)

Undocumented

Value
(sys.version_info[:2] >= (3, 8))
PY39_PLUS = (source)

Undocumented

Value
(sys.version_info[:2] >= (3, 9))
PY_EXTS: tuple[str, ...] = (source)

Undocumented

Value
('.py', '.pyc', '.pyo', '.pyw', '.so', '.dll')
PYLINT_HOME = (source)

Undocumented

Value
_get_pylint_home()
TYPING_NEVER = (source)

Undocumented

Value
frozenset(('typing.Never', 'typing_extensions.Never'))
TYPING_NORETURN = (source)

Undocumented

Value
frozenset(('typing.NoReturn', 'typing_extensions.NoReturn'))
USER_HOME = (source)

Undocumented

Value
os.path.expanduser('~')
full_version = (source)

Undocumented

def _get_pylint_home() -> str: (source)

Return the pylint home.

def _warn_about_old_home(pylint_home: pathlib.Path): (source)

Warn users about the old pylint home being deprecated. The spam prevention mechanism is due to pylint being used in parallel by pre-commit, and the message being spammy in this context Also if you work with an old version of pylint that recreates the old pylint home, you can get the old message for a long time.

_MSG_ORDER: str = (source)

Undocumented

Value
'EWRCIF'
_SCOPE_EXEMPT: str = (source)

Undocumented

Value
'FR'