bg dZddlmZddlmZddlmZddlmZ ddl m Z ddl m Z ddlmZdd ZGd de ZdS)zwClasses and functions used to mimic normal pylint runs. This module is considered private and can change at any time. ) annotations)Sequence)Any)Run)UNUSED_PARAM_SENTINEL) BaseReporter)PYLINTRCargs list[str]returncttd|Ds|ddt|S)zGAdd a default pylintrc with the rcfile option in a list of pylint args.c3K|]}d|vV dS)z--rcfileN).0args f/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/pylint/testutils/_run.py z/_add_rcfile_default_pylintrc..s'11SzS 111111rz --rcfile=)anyinsertr )r s r_add_rcfile_default_pylintrcrsC 11D111 1 1/ A-8--... Krc,eZdZdZddefdfd ZxZS)_RunaLike Run, but we're using an explicitly set empty pylintrc. We don't want to use the project's pylintrc during tests, because it means that a change in our config could break tests. But we want to see if the changes to the default break tests. NTr Sequence[str]reporterBaseReporter | Noneexitbooldo_exitrr Nonectt|}t||||dS)N)rlistsuper__init__)selfr rrr __class__s rr$z _Run.__init__%s<,DJJ77 xw77777r) r rrrrrrrr r )__name__ __module__ __qualname____doc__rr$ __classcell__)r&s@rrrsW)-, 88888888888rrN)r r r r )r* __future__rcollections.abcrtypingr pylint.lintrLintRunpylint.lint.runrpylint.reporters.base_reporterr!pylint.testutils.lint_module_testr rrrrrr4s  #"""""$$$$$$&&&&&&11111177777766666688888788888r