module documentation

Basic checker for Python code.

Class BasicChecker Basic checker.
Function report_by_type_stats Make a report of.
Constant DEFAULT_ARGUMENT_SYMBOLS Undocumented
Constant REVERSED_METHODS Undocumented
Constant REVERSED_PROTOCOL_METHOD Undocumented
Constant SEQUENCE_PROTOCOL_METHODS Undocumented
Class _BasicChecker Permits separating multiple checks with the same checker name into classes/file.
def report_by_type_stats(sect: reporter_nodes.Section, stats: LinterStats, old_stats: LinterStats|None): (source)

Make a report of. * percentage of different types documented * percentage of different types with a bad name

DEFAULT_ARGUMENT_SYMBOLS = (source)

Undocumented

Value
dict(zip(['.'.join(['builtins', x]) for x in ('set', 'dict', 'list')],
         ['set()', '{}', '[]']),
     **{x: f'{x}()' for x in ('collections.deque', 'collections.ChainMap',
    'collections.Counter', 'collections.OrderedDict',
    'collections.defaultdict', 'collections.UserDict', 'collections.UserList')})
REVERSED_PROTOCOL_METHOD: str = (source)

Undocumented

Value
'__reversed__'
SEQUENCE_PROTOCOL_METHODS: tuple[str, ...] = (source)

Undocumented

Value
('__getitem__', '__len__')