module documentation

Checkers for various standard library functions.

Class StdlibChecker No class docstring; 0/4 instance variable, 0/2 class variable, 4/22 methods documented
Function register Undocumented
Constant COPY_COPY Undocumented
Constant DEBUG_BREAKPOINTS Undocumented
Constant DEPRECATED_ARGUMENTS Undocumented
Constant DEPRECATED_CLASSES Undocumented
Constant DEPRECATED_DECORATORS Undocumented
Constant DEPRECATED_METHODS Undocumented
Constant ENV_GETTERS Undocumented
Constant LRU_CACHE Undocumented
Constant NON_INSTANCE_METHODS Undocumented
Constant OPEN_FILES_FUNCS Undocumented
Constant OPEN_FILES_MODE Undocumented
Constant OPEN_MODULE Undocumented
Constant OS_ENVIRON Undocumented
Constant SUBPROCESS_POPEN Undocumented
Constant SUBPROCESS_RUN Undocumented
Constant THREADING_THREAD Undocumented
Constant UNITTEST_CASE Undocumented
Type Alias DeprecationDict Undocumented
Function _check_mode_str Undocumented
def register(linter: PyLinter): (source)

Undocumented

COPY_COPY: str = (source)

Undocumented

Value
'copy.copy'
DEBUG_BREAKPOINTS: tuple[str, ...] = (source)

Undocumented

Value
('builtins.breakpoint', 'sys.breakpointhook', 'pdb.set_trace')
DEPRECATED_ARGUMENTS: dict[tuple[int, int, int], dict[str, tuple[tuple[int|None, str], ...]]] = (source)

Undocumented

Value
{(0, 0, 0): {'int': ((None, 'x')),
             'bool': ((None, 'x')),
             'float': ((None, 'x'))},
 (3, 8, 0): {'asyncio.tasks.sleep': ((None, 'loop')),
             'asyncio.tasks.gather': ((None, 'loop')),
             'asyncio.tasks.shield': ((None, 'loop')),
             'asyncio.tasks.wait_for': ((None, 'loop')),
...
DEPRECATED_CLASSES: dict[tuple[int, int, int], dict[str, set[str]]] = (source)

Undocumented

Value
{(3, 2, 0): {'configparser': set(['LegacyInterpolation', 'SafeConfigParser'])},
 (3, 3, 0): {'importlib.abc': set(['Finder']),
             'pkgutil': set(['ImpImporter', 'ImpLoader']),
             'collections': set(['Awaitable',
                                 'Coroutine',
                                 'AsyncIterable',
                                 'AsyncIterator',
...
DEPRECATED_DECORATORS: DeprecationDict = (source)

Undocumented

Value
{(3, 8, 0): set(['asyncio.coroutine']),
 (3, 3, 0): set(['abc.abstractclassmethod',
                 'abc.abstractstaticmethod',
                 'abc.abstractproperty']),
 (3, 4, 0): set(['importlib.util.module_for_loader'])}
DEPRECATED_METHODS: dict[int, DeprecationDict] = (source)

Undocumented

Value
{0: {(0, 0, 0): set(['cgi.parse_qs',
                     'cgi.parse_qsl',
                     'ctypes.c_buffer',
                     'distutils.command.register.register.check_metadata',
                     'distutils.command.sdist.sdist.check_metadata',
                     'tkinter.Misc.tk_menuBar',
                     'tkinter.Menu.tk_bindForTraversal'])},
...
ENV_GETTERS: tuple[str, ...] = (source)

Undocumented

Value
('os.getenv')
LRU_CACHE: set[str] = (source)

Undocumented

Value
set(['functools.lru_cache',
     'functools._lru_cache_wrapper.wrapper',
     'functools.lru_cache.decorating_function'])
NON_INSTANCE_METHODS: set[str] = (source)

Undocumented

Value
set(['builtins.staticmethod', 'builtins.classmethod'])
OPEN_FILES_FUNCS = (source)

Undocumented

Value
OPEN_FILES_MODE+('read_text', 'write_text')
OPEN_FILES_MODE: tuple[str, ...] = (source)

Undocumented

Value
('open', 'file')
OPEN_MODULE: set[str] = (source)

Undocumented

Value
set(['_io', 'pathlib'])
OS_ENVIRON: str = (source)

Undocumented

Value
'os._Environ'
SUBPROCESS_POPEN: str = (source)

Undocumented

Value
'subprocess.Popen'
SUBPROCESS_RUN: str = (source)

Undocumented

Value
'subprocess.run'
THREADING_THREAD: str = (source)

Undocumented

Value
'threading.Thread'
UNITTEST_CASE: str = (source)

Undocumented

Value
'unittest.case'
DeprecationDict = (source)

Undocumented

Value
Dict[Tuple[int, int, int], Set[str]]
def _check_mode_str(mode: Any) -> bool: (source)

Undocumented