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/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
543
only_required_for_messages
ref
function
@utils.only_required_for_messages("boolean-datetime")
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
544
visit_boolop
def
function
def visit_boolop(self, node: nodes.BoolOp) -> None: for value in node.values: self._check_datetime(value) @utils.only_required_for_messages("method-cache-max-size-none") def visit_functiondef(self, node: nodes.FunctionDef) -> None: if node.decorators and isinstance(node.parent, ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
546
_check_datetime
ref
function
self._check_datetime(value)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
548
only_required_for_messages
ref
function
@utils.only_required_for_messages("method-cache-max-size-none")
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
549
visit_functiondef
def
function
def visit_functiondef(self, node: nodes.FunctionDef) -> None: if node.decorators and isinstance(node.parent, nodes.ClassDef): self._check_lru_cache_decorators(node.decorators) def _check_lru_cache_decorators(self, decorators: nodes.Decorators) -> None: """Check if instance methods a...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
551
_check_lru_cache_decorators
ref
function
self._check_lru_cache_decorators(node.decorators)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
553
_check_lru_cache_decorators
def
function
def _check_lru_cache_decorators(self, decorators: nodes.Decorators) -> None: """Check if instance methods are decorated with functools.lru_cache.""" lru_cache_nodes: list[nodes.NodeNG] = [] for d_node in decorators.nodes: try: for infered_node in d_node.infer(): ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
558
infer
ref
function
for infered_node in d_node.infer():
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
559
qname
ref
function
q_name = infered_node.qname()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
566
get_argument_from_call
ref
function
arg = utils.get_argument_from_call(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
584
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
590
_check_redundant_assert
def
function
def _check_redundant_assert(self, node, infer): if ( isinstance(infer, astroid.BoundMethod) and node.args and isinstance(node.args[0], nodes.Const) and infer.name in {"assert_True", "assert_False"} ): self.add_message( "redu...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
597
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
603
_check_datetime
def
function
def _check_datetime(self, node): """Check that a datetime was inferred, if so, emit boolean-datetime warning.""" try: inferred = next(node.infer()) except astroid.InferenceError: return if ( isinstance(inferred, astroid.Instance) and in...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
606
infer
ref
function
inferred = next(node.infer())
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
611
qname
ref
function
and inferred.qname() == "datetime.time"
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
613
add_message
ref
function
self.add_message("boolean-datetime", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
615
_check_open_call
def
function
def _check_open_call( self, node: nodes.Call, open_module: str, func_name: str ) -> None: """Various checks for an open call.""" mode_arg = None try: if open_module == "_io": mode_arg = utils.get_argument_from_call( node, position=1...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
622
get_argument_from_call
ref
function
mode_arg = utils.get_argument_from_call(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
626
get_argument_from_call
ref
function
mode_arg = utils.get_argument_from_call(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
633
safe_infer
ref
function
mode_arg = utils.safe_infer(mode_arg)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
638
_check_mode_str
ref
function
and not _check_mode_str(mode_arg.value)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
640
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
655
get_argument_from_call
ref
function
encoding_arg = utils.get_argument_from_call(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
659
get_argument_from_call
ref
function
encoding_arg = utils.get_argument_from_call(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
663
get_argument_from_call
ref
function
encoding_arg = utils.get_argument_from_call(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
667
get_argument_from_call
ref
function
encoding_arg = utils.get_argument_from_call(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
671
add_message
ref
function
self.add_message("unspecified-encoding", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
674
safe_infer
ref
function
encoding_arg = utils.safe_infer(encoding_arg)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
677
add_message
ref
function
self.add_message("unspecified-encoding", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
679
_check_env_function
def
function
def _check_env_function(self, node, infer): env_name_kwarg = "key" env_value_kwarg = "default" if node.keywords: kwargs = {keyword.arg: keyword.value for keyword in node.keywords} else: kwargs = None if node.args: env_name_arg = node.args[0...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
694
_check_invalid_envvar_value
ref
function
self._check_invalid_envvar_value(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
697
safe_infer
ref
function
call_arg=utils.safe_infer(env_name_arg),
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
710
_check_invalid_envvar_value
ref
function
self._check_invalid_envvar_value(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
714
safe_infer
ref
function
call_arg=utils.safe_infer(env_value_arg),
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
718
_check_invalid_envvar_value
def
function
def _check_invalid_envvar_value(self, node, infer, message, call_arg, allow_none): if call_arg in (astroid.Uninferable, None): return name = infer.qname() if isinstance(call_arg, nodes.Const): emit = _False if call_arg.value is None: emit ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
722
qname
ref
function
name = infer.qname()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
730
add_message
ref
function
self.add_message(message, node=node, args=(name, call_arg.pytype()))
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
730
pytype
ref
function
self.add_message(message, node=node, args=(name, call_arg.pytype()))
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
732
add_message
ref
function
self.add_message(message, node=node, args=(name, call_arg.pytype()))
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
732
pytype
ref
function
self.add_message(message, node=node, args=(name, call_arg.pytype()))
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
734
deprecated_methods
def
function
def deprecated_methods(self): return self._deprecated_methods def deprecated_arguments(self, method: str): return self._deprecated_arguments.get(method, ()) def deprecated_classes(self, module: str): return self._deprecated_classes.get(module, ()) def deprecated_decorators(sel...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
737
deprecated_arguments
def
function
def deprecated_arguments(self, method: str): return self._deprecated_arguments.get(method, ()) def deprecated_classes(self, module: str): return self._deprecated_classes.get(module, ()) def deprecated_decorators(self) -> Iterable: return self._deprecated_decorators
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
740
deprecated_classes
def
class
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
743
deprecated_decorators
def
function
def deprecated_decorators(self) -> Iterable: return self._deprecated_decorators
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
747
register
def
function
def register(linter: PyLinter) -> None: linter.register_checker(StdlibChecker(linter))
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
748
register_checker
ref
function
linter.register_checker(StdlibChecker(linter))
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/stdlib.py
pylint/checkers/stdlib.py
748
StdlibChecker
ref
function
linter.register_checker(StdlibChecker(linter))
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
202
get_access_path
def
function
def get_access_path(key, parts): """Given a list of format specifiers, returns the final access path (e.g. a.b.c[0][1]). """ path = [] for is_attribute, specifier in parts: if is_attribute: path.append(f".{specifier}") else: path.append(f"[{specifier!r}]") ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
215
arg_matches_format_type
def
function
def arg_matches_format_type(arg_type, format_type): if format_type in "sr": # All types can be printed with %s and %r return _True if isinstance(arg_type, astroid.Instance): arg_type = arg_type.pytype() if arg_type == "builtins.str": return format_type == "c" ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
220
pytype
ref
function
arg_type = arg_type.pytype()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
232
StringFormatChecker
def
class
visit_binop visit_joinedstr _check_interpolation visit_call _detect_vacuous_formatting _check_new_format _check_new_format_specifiers
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
241
only_required_for_messages
ref
function
@only_required_for_messages(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
254
visit_binop
def
function
def visit_binop(self, node: nodes.BinOp) -> None: if node.op != "%": return left = node.left args = node.right if not (isinstance(left, nodes.Const) and isinstance(left.value, str)): return format_string = left.value try: ( ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
269
parse_format_string
ref
function
) = utils.parse_format_string(format_string)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
272
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
279
add_message
ref
function
self.add_message("truncated-format-string", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
282
add_message
ref
function
self.add_message("format-string-without-interpolation", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
287
add_message
ref
function
self.add_message("mixed-format-string", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
302
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
314
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
319
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
326
safe_infer
ref
function
arg_type = utils.safe_infer(arg)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
331
arg_matches_format_type
ref
function
and not arg_matches_format_type(arg_type, format_type)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
333
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
336
pytype
ref
function
args=(arg_type.pytype(), format_type),
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
340
add_message
ref
function
self.add_message("format-needs-mapping", node=node, args=type_name)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
352
safe_infer
ref
function
rhs_tuple = utils.safe_infer(args)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
361
safe_infer
ref
function
inferred = utils.safe_infer(args)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
379
add_message
ref
function
self.add_message("too-many-format-args", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
381
add_message
ref
function
self.add_message("too-few-format-args", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
385
safe_infer
ref
function
arg_type = utils.safe_infer(arg)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
389
arg_matches_format_type
ref
function
and not arg_matches_format_type(arg_type, format_type)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
391
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
394
pytype
ref
function
args=(arg_type.pytype(), format_type),
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
397
only_required_for_messages
ref
function
@only_required_for_messages("f-string-without-interpolation")
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
398
visit_joinedstr
def
function
def visit_joinedstr(self, node: nodes.JoinedStr) -> None: self._check_interpolation(node) def _check_interpolation(self, node: nodes.JoinedStr) -> None: if isinstance(node.parent, nodes.FormattedValue): return for value in node.values: if isinstance(value, nodes....
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
399
_check_interpolation
ref
function
self._check_interpolation(node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
401
_check_interpolation
def
function
def _check_interpolation(self, node: nodes.JoinedStr) -> None: if isinstance(node.parent, nodes.FormattedValue): return for value in node.values: if isinstance(value, nodes.FormattedValue): return self.add_message("f-string-without-interpolation", node...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
407
add_message
ref
function
self.add_message("f-string-without-interpolation", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
409
visit_call
def
function
def visit_call(self, node: nodes.Call) -> None: func = utils.safe_infer(node.func) if ( isinstance(func, astroid.BoundMethod) and isinstance(func.bound, astroid.Instance) and func.bound.name in {"str", "unicode", "bytes"} ): if func.name in {"s...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
410
safe_infer
ref
function
func = utils.safe_infer(node.func)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
417
safe_infer
ref
function
arg = utils.safe_infer(node.args[0])
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
421
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
427
_check_new_format
ref
function
self._check_new_format(node, func)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
429
_detect_vacuous_formatting
def
function
def _detect_vacuous_formatting(self, node, positional_arguments): counter = collections.Counter( arg.name for arg in positional_arguments if isinstance(arg, nodes.Name) ) for name, count in counter.items(): if count == 1: continue self.add_...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
436
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
440
_check_new_format
def
function
def _check_new_format(self, node, func): """Check the new string formatting.""" # Skip format nodes which don't have an explicit string on the # left side of the format operation. # We do this because our inference engine can't properly handle # redefinition of the original s...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
458
infer
ref
function
strnode = next(func.bound.infer())
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
464
from_call
ref
function
call_site = astroid.arguments.CallSite.from_call(node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
469
parse_format_method_string
ref
function
fields, num_args, manual_pos = utils.parse_format_method_string(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
473
add_message
ref
function
self.add_message("bad-format-string", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
480
add_message
ref
function
self.add_message("format-combined-specification", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
489
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
494
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
514
add_message
ref
function
self.add_message("format-string-without-interpolation", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
517
add_message
ref
function
self.add_message("too-many-format-args", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
519
add_message
ref
function
self.add_message("too-few-format-args", node=node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
521
_detect_vacuous_formatting
ref
function
self._detect_vacuous_formatting(node, positional_arguments)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/checkers/strings.py
pylint/checkers/strings.py
522
_check_new_format_specifiers
ref
function
self._check_new_format_specifiers(node, fields, named_arguments)