fname
stringlengths
63
176
rel_fname
stringclasses
706 values
line
int64
-1
4.5k
name
stringlengths
1
81
kind
stringclasses
2 values
category
stringclasses
2 values
info
stringlengths
0
77.9k
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/threading_checker.py
pylint/checkers/threading_checker.py
49
safe_infer
ref
function
infered_function = safe_infer(context_manager.func)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/threading_checker.py
pylint/checkers/threading_checker.py
52
qname
ref
function
qname = infered_function.qname()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/threading_checker.py
pylint/checkers/threading_checker.py
54
add_message
ref
function
self.add_message("useless-with-lock", node=node, args=qname)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/threading_checker.py
pylint/checkers/threading_checker.py
57
register
def
function
def register(linter: "PyLinter") -> None: linter.register_checker(ThreadingChecker(linter))
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/threading_checker.py
pylint/checkers/threading_checker.py
58
register_checker
ref
function
linter.register_checker(ThreadingChecker(linter))
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/threading_checker.py
pylint/checkers/threading_checker.py
58
ThreadingChecker
ref
function
linter.register_checker(ThreadingChecker(linter))
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
132
_unflatten
def
function
def _unflatten(iterable): for index, elem in enumerate(iterable): if isinstance(elem, Sequence) and not isinstance(elem, str): yield from _unflatten(elem) elif elem and not index: # We're interested only in the first element. yield elem
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
135
_unflatten
ref
function
yield from _unflatten(elem)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
141
_flatten_container
def
function
def _flatten_container(iterable): # Flatten nested containers into a single iterable for item in iterable: if isinstance(item, (list, tuple, types.GeneratorType)): yield from _flatten_container(item) else: yield item
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
145
_flatten_container
ref
function
yield from _flatten_container(item)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
150
_is_owner_ignored
def
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
163
root
ref
function
module_name = owner.root().name
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
164
root
ref
function
module_qname = owner.root().qname()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
164
qname
ref
function
module_qname = owner.root().qname()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
191
qname
ref
function
qname = owner.qname() if hasattr(owner, "qname") else ""
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
196
_node_names
def
function
def _node_names(node): if not hasattr(node, "locals"): return [] return node.locals.keys()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
202
register
ref
function
@_node_names.register(nodes.ClassDef)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
203
register
ref
function
@_node_names.register(astroid.Instance)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
204
_
def
function
def _(node): values = itertools.chain(node.instance_attrs.keys(), node.locals.keys()) try: mro = node.mro()[1:] except (NotImplementedError, TypeError, astroid.MroError): mro = node.ancestors() other_values = [value for cls in mro for value in _node_names(cls)] return itertools.cha...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
208
mro
ref
function
mro = node.mro()[1:]
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
210
ancestors
ref
function
mro = node.ancestors()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
212
_node_names
ref
function
other_values = [value for cls in mro for value in _node_names(cls)]
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
216
_string_distance
def
function
def _string_distance(seq1, seq2): seq2_length = len(seq2) row = list(range(1, seq2_length + 1)) + [0] for seq1_index, seq1_char in enumerate(seq1): last_row = row row = [0] * seq2_length + [seq1_index + 1] for seq2_index, seq2_char in enumerate(seq2): row[seq2_index] = ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
234
_similar_names
def
function
def _similar_names(owner, attrname, distance_threshold, max_choices): """Given an owner and a name, try to find similar names. The similar names are searched given a distance metric and only a given number of choices will be returned. """ possible_names = [] names = _node_names(owner) for ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
241
_node_names
ref
function
names = _node_names(owner)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
247
_string_distance
ref
function
distance = _string_distance(attrname, name)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
262
_missing_member_hint
def
function
def _missing_member_hint(owner, attrname, distance_threshold, max_choices): names = _similar_names(owner, attrname, distance_threshold, max_choices) if not names: # No similar name. return "" names = [repr(name) for name in names] if len(names) == 1: names = ", ".join(names) ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
263
_similar_names
ref
function
names = _similar_names(owner, attrname, distance_threshold, max_choices)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
466
_emit_no_member
def
function
def _emit_no_member( node, owner, owner_name, mixin_class_rgx: Pattern[str], ignored_mixins=_True, ignored_none=_True,
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
487
node_ignores_exception
ref
function
if node_ignores_exception(node, AttributeError):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
491
is_super
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
496
is_abstract
ref
function
owner.decorators or owner.is_abstract()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
500
has_dynamic_getattr
ref
function
if owner.has_dynamic_getattr():
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
504
metaclass
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
509
qname
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
511
has_known_bases
ref
function
if not has_known_bases(owner):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
516
is_attribute_typed_annotation
ref
function
if utils.is_attribute_typed_annotation(owner, node.attrname):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
524
super_mro
ref
function
owner.super_mro()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
527
has_known_bases
ref
function
if not all(has_known_bases(base) for base in owner.type.mro()):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
527
mro
ref
function
if not all(has_known_bases(base) for base in owner.type.mro()):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
559
scope
ref
function
scope: nodes.NodeNG = node.scope()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
564
safe_infer
ref
function
inferred = safe_infer(parent.test)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
567
bool_value
ref
function
and inferred.bool_value() is False
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
581
_determine_callable
def
function
def _determine_callable( callable_obj: nodes.NodeNG,
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
594
implicit_parameters
ref
function
parameters = callable_obj.implicit_parameters()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
612
local_attr
ref
function
new = callable_obj.local_attr("__new__")[-1]
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
616
scope
ref
function
from_object = new and new.parent.scope().name == "object"
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
617
root
ref
function
from_builtins = new and new.root().name in sys.builtin_module_names
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
622
local_attr
ref
function
callable_obj = callable_obj.local_attr("__init__")[-1]
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
637
_has_parent_of_type
def
function
def _has_parent_of_type(node, node_type, statement): """Check if the given node has a parent of the given type.""" parent = node.parent while not isinstance(parent, node_type) and statement.parent_of(parent): parent = parent.parent return isinstance(parent, node_type)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
640
parent_of
ref
function
while not isinstance(parent, node_type) and statement.parent_of(parent):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
645
_no_context_variadic_keywords
def
function
def _no_context_variadic_keywords(node, scope): statement = node.statement(future=_True) variadics = () if isinstance(scope, nodes.Lambda) and not isinstance(scope, nodes.FunctionDef): variadics = list(node.keywords or []) + node.kwargs elif isinstance(statement, (nodes.Return, nodes.Expr, node...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
646
statement
ref
function
statement = node.statement(future=True)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
657
_no_context_variadic
ref
function
return _no_context_variadic(node, scope.args.kwarg, nodes.Keyword, variadics)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
660
_no_context_variadic_positional
def
function
def _no_context_variadic_positional(node, scope): variadics = node.starargs + node.kwargs return _no_context_variadic(node, scope.args.vararg, nodes.Starred, variadics)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
662
_no_context_variadic
ref
function
return _no_context_variadic(node, scope.args.vararg, nodes.Starred, variadics)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
665
_no_context_variadic
def
function
def _no_context_variadic(node, variadic_name, variadic_type, variadics): """Verify if the given call node has variadic nodes without context. This is a workaround for handling cases of nested call functions which don't have the specific call context at hand. Variadic arguments (variable positional argu...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
676
scope
ref
function
scope = node.scope()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
680
statement
ref
function
statement = node.statement(future=True)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
681
nodes_of_class
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
685
safe_infer
ref
function
inferred = safe_infer(name)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
698
statement
ref
function
inferred_statement = inferred.statement(future=True)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
701
_has_parent_of_type
ref
function
is_in_starred_context = _has_parent_of_type(node, variadic_type, statement)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
703
parent_of
ref
function
variadic.value == name or variadic.value.parent_of(name)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
711
_is_invalid_metaclass
def
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
713
mro
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
718
is_builtin_object
ref
function
if not any(is_builtin_object(cls) and cls.name == "type" for cls in mro):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
723
_infer_from_metaclass_constructor
def
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
740
InferenceContext
ref
function
context = astroid.context.InferenceContext()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
743
postinit
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
745
Dict
ref
function
attrs = nodes.Dict()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
747
postinit
ref
function
attrs.postinit(local_names)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
750
postinit
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
752
CallContext
ref
function
context.callcontext = astroid.context.CallContext(builder_args)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
754
infer_call_result
ref
function
inferred = next(func.infer_call_result(func, context), None)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
760
_is_c_extension
def
function
def _is_c_extension(module_node): return ( not astroid.modutils.is_standard_module(module_node.name) and not module_node.fully_defined() )
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
762
is_standard_module
ref
function
not astroid.modutils.is_standard_module(module_node.name)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
763
fully_defined
ref
function
and not module_node.fully_defined()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
767
_is_invalid_isinstance_type
def
function
def _is_invalid_isinstance_type(arg): # Return _True if we are sure that arg is not a type inferred = utils.safe_infer(arg) if not inferred: # Cannot infer it so skip it. return _False if isinstance(inferred, nodes.Tuple): return any(_is_invalid_isinstance_type(elt) for elt in in...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
769
safe_infer
ref
function
inferred = utils.safe_infer(arg)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
774
_is_invalid_isinstance_type
ref
function
return any(_is_invalid_isinstance_type(elt) for elt in inferred.elts)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
777
qname
ref
function
if isinstance(inferred, astroid.Instance) and inferred.qname() == BUILTIN_TUPLE:
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
782
TypeChecker
def
class
open _suggestion_mode _compiled_generated_members visit_functiondef visit_classdef visit_assignattr visit_delattr visit_attribute _get_nomember_msgid_hint visit_assign _check_assignment_from_function_call _is_ignored_function _is_list_sort_method _check_dundername_is_string _check_uninferable_call _check_argument_order...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
935
get_global_option
ref
function
py_version = get_global_option(self, "py-version")
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
937
get_global_option
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
940
_suggestion_mode
def
function
def _suggestion_mode(self): return get_global_option(self, "suggestion-mode", default=_True) @astroid.decorators.cachedproperty def _compiled_generated_members(self) -> Tuple[Pattern, ...]: # do this lazily since config not fully initialized in __init__ # generated_members may conta...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
941
get_global_option
ref
function
return get_global_option(self, "suggestion-mode", default=True)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
944
_compiled_generated_members
def
function
def _compiled_generated_members(self) -> Tuple[Pattern, ...]: # do this lazily since config not fully initialized in __init__ # generated_members may contain regular expressions # (surrounded by quote `"` and followed by a comma `,`) # REQUEST,aq_parent,"[a-zA-Z]+_set{1,2}"' => ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
958
check_messages
ref
function
@check_messages("keyword-arg-before-vararg")
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
959
visit_functiondef
def
function
def visit_functiondef(self, node: nodes.FunctionDef) -> None: # check for keyword arg before varargs if node.args.vararg and node.args.defaults: self.add_message("keyword-arg-before-vararg", node=node, args=(node.name)) visit_asyncfunctiondef = visit_functiondef @check_messages...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
962
add_message
ref
function
self.add_message("keyword-arg-before-vararg", node=node, args=(node.name))
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
966
check_messages
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
967
visit_classdef
def
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
968
_metaclass_name
def
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
976
as_string
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
978
declared_metaclass
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
984
_infer_from_metaclass_constructor
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
990
_is_invalid_metaclass
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
991
add_message
ref
function
self.add_message(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/checkers/typecheck.py
pylint/checkers/typecheck.py
992
_metaclass_name
ref
class