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/extensions/typing.py | pylint/extensions/typing.py | 199 | visit_name | def | function | def visit_name(self, node: nodes.Name) -> None:
if self._should_check_typing_alias and node.name in ALIAS_NAMES:
self._check_for_typing_alias(node)
if self._should_check_alternative_union_syntax and node.name in UNION_NAMES:
self._check_for_alternative_union_syntax(node, node... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 201 | _check_for_typing_alias | ref | function | self._check_for_typing_alias(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 203 | _check_for_alternative_union_syntax | ref | function | self._check_for_alternative_union_syntax(node, node.name)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 205 | _check_broken_noreturn | ref | function | self._check_broken_noreturn(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 207 | _check_broken_callable | ref | function | self._check_broken_callable(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 209 | only_required_for_messages | ref | function | @only_required_for_messages(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 216 | visit_attribute | def | function | def visit_attribute(self, node: nodes.Attribute) -> None:
if self._should_check_typing_alias and node.attrname in ALIAS_NAMES:
self._check_for_typing_alias(node)
if self._should_check_alternative_union_syntax and node.attrname in UNION_NAMES:
self._check_for_alternative_union... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 218 | _check_for_typing_alias | ref | function | self._check_for_typing_alias(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 220 | _check_for_alternative_union_syntax | ref | function | self._check_for_alternative_union_syntax(node, node.attrname)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 222 | _check_broken_noreturn | ref | function | self._check_broken_noreturn(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 224 | _check_broken_callable | ref | function | self._check_broken_callable(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 226 | _check_for_alternative_union_syntax | def | function | def _check_for_alternative_union_syntax(
self,
node: nodes.Name | nodes.Attribute,
name: str,
) -> None:
"""Check if alternative union syntax could be used.
Requires
- Python 3.10
- OR: Python 3.7+ with postponed evaluation in
a type annotat... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 238 | safe_infer | ref | function | inferred = safe_infer(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 241 | qname | ref | function | and inferred.qname() in {"typing.Optional", "typing.Union"}
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 243 | qname | ref | function | and inferred.qname() == "typing._SpecialForm"
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 246 | is_node_in_type_annotation_context | ref | function | if not (self._py310_plus or is_node_in_type_annotation_context(node)):
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 248 | add_message | ref | function | self.add_message(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 251 | _msg_postponed_eval_hint | ref | function | args=(name, self._msg_postponed_eval_hint(node)),
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 255 | _check_for_typing_alias | def | function | def _check_for_typing_alias(
self,
node: nodes.Name | nodes.Attribute,
) -> None:
"""Check if typing alias is deprecated or could be replaced.
Requires
- Python 3.9
- OR: Python 3.7+ with postponed evaluation in
a type annotation context
Fo... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 270 | safe_infer | ref | function | inferred = safe_infer(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 273 | qname | ref | function | alias = DEPRECATED_TYPING_ALIASES.get(inferred.qname(), None)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 278 | qname | ref | function | if inferred.qname() == "typing.Callable" and self._broken_callable_location(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 278 | _broken_callable_location | ref | function | if inferred.qname() == "typing.Callable" and self._broken_callable_location(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 283 | DeprecatedTypingAliasMsg | ref | function | DeprecatedTypingAliasMsg(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 285 | qname | ref | function | inferred.qname(),
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 292 | is_node_in_type_annotation_context | ref | function | if not is_node_in_type_annotation_context(node) and isinstance(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 296 | qname | ref | function | self._alias_name_collisions.add(inferred.qname())
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 299 | DeprecatedTypingAliasMsg | ref | function | DeprecatedTypingAliasMsg(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 301 | qname | ref | function | inferred.qname(),
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 307 | only_required_for_messages | ref | function | @only_required_for_messages("consider-using-alias", "deprecated-typing-alias")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 308 | leave_module | def | function | def leave_module(self, node: nodes.Module) -> None:
"""After parsing of module is complete, add messages for
'consider-using-alias' check.
Make sure results are safe to recommend / collision free.
"""
if self._py39_plus:
for msg in self._deprecated_typing_alias_m... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 321 | add_message | ref | function | self.add_message(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 329 | _msg_postponed_eval_hint | ref | function | msg_future_import = self._msg_postponed_eval_hint(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 333 | add_message | ref | function | self.add_message(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 350 | _check_broken_noreturn | def | function | def _check_broken_noreturn(self, node: nodes.Name | nodes.Attribute) -> None:
"""Check for 'NoReturn' inside compound types."""
if not isinstance(node.parent, nodes.BaseContainer):
# NoReturn not part of a Union or Callable type
return
if (
in_type_checki... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 357 | in_type_checking_block | ref | function | in_type_checking_block(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 358 | is_postponed_evaluation_enabled | ref | function | or is_postponed_evaluation_enabled(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 359 | is_node_in_type_annotation_context | ref | function | and is_node_in_type_annotation_context(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 363 | infer | ref | function | for inferred in node.infer():
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 367 | qname | ref | function | and inferred.qname() in TYPING_NORETURN
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 371 | qname | ref | function | and inferred._proxied.qname() == "typing._SpecialForm"
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 373 | add_message | ref | function | self.add_message("broken-noreturn", node=node, confidence=INFERENCE)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 376 | _check_broken_callable | def | function | def _check_broken_callable(self, node: nodes.Name | nodes.Attribute) -> None:
"""Check for 'collections.abc.Callable' inside Optional and Union."""
inferred = safe_infer(node)
if not (
isinstance(inferred, nodes.ClassDef)
and inferred.qname() == "_collections_abc.Call... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 378 | safe_infer | ref | function | inferred = safe_infer(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 381 | qname | ref | function | and inferred.qname() == "_collections_abc.Callable"
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 382 | _broken_callable_location | ref | function | and self._broken_callable_location(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 386 | add_message | ref | function | self.add_message("broken-collections-callable", node=node, confidence=INFERENCE)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 388 | _broken_callable_location | def | function | def _broken_callable_location( # pylint: disable=no-self-use
self, node: nodes.Name | nodes.Attribute
) -> bool:
"""Check if node would be a broken location for collections.abc.Callable."""
if (
in_type_checking_block(node)
or is_postponed_evaluation_enabled(node... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 393 | in_type_checking_block | ref | function | in_type_checking_block(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 394 | is_postponed_evaluation_enabled | ref | function | or is_postponed_evaluation_enabled(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 395 | is_node_in_type_annotation_context | ref | function | and is_node_in_type_annotation_context(node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 418 | safe_infer | ref | function | inferred_parent = safe_infer(parent_subscript.value)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 421 | qname | ref | function | and inferred_parent.qname() in {"typing.Optional", "typing.Union"}
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 423 | qname | ref | function | and inferred_parent.qname() == "typing._SpecialForm"
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 430 | register | def | function | def register(linter: PyLinter) -> None:
linter.register_checker(TypingChecker(linter))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 431 | register_checker | ref | function | linter.register_checker(TypingChecker(linter))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/typing.py | pylint/extensions/typing.py | 431 | TypingChecker | ref | function | linter.register_checker(TypingChecker(linter))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/while_used.py | pylint/extensions/while_used.py | 19 | WhileChecker | def | class | visit_while |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/while_used.py | pylint/extensions/while_used.py | 30 | only_required_for_messages | ref | function | @only_required_for_messages("while-used")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/while_used.py | pylint/extensions/while_used.py | 31 | visit_while | def | function | def visit_while(self, node: nodes.While) -> None:
self.add_message("while-used", node=node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/while_used.py | pylint/extensions/while_used.py | 32 | add_message | ref | function | self.add_message("while-used", node=node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/while_used.py | pylint/extensions/while_used.py | 35 | register | def | function | def register(linter: PyLinter) -> None:
linter.register_checker(WhileChecker(linter))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/while_used.py | pylint/extensions/while_used.py | 36 | register_checker | ref | function | linter.register_checker(WhileChecker(linter))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/extensions/while_used.py | pylint/extensions/while_used.py | 36 | WhileChecker | ref | function | linter.register_checker(WhileChecker(linter))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 21 | target_info_from_filename | def | function | def target_info_from_filename(filename: str) -> tuple[str, str, str]:
"""Transforms /some/path/foo.png into ('/some/path', 'foo.png', 'png')."""
basename = os.path.basename(filename)
storedir = os.path.dirname(os.path.abspath(filename))
target = os.path.splitext(filename)[-1][1:]
return storedir, ba... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 23 | basename | ref | function | basename = os.path.basename(filename)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 24 | dirname | ref | function | storedir = os.path.dirname(os.path.abspath(filename))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 24 | abspath | ref | function | storedir = os.path.dirname(os.path.abspath(filename))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 25 | splitext | ref | function | target = os.path.splitext(filename)[-1][1:]
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 29 | DotBackend | def | class | __init__ get_source generate emit emit_edge emit_node |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 48 | emit | ref | function | self.emit(f"digraph {normalize_node_id(graphname)} {{")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 48 | normalize_node_id | ref | function | self.emit(f"digraph {normalize_node_id(graphname)} {{")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 50 | emit | ref | function | self.emit(f"rankdir={rankdir}")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 52 | emit | ref | function | self.emit(f"ratio={ratio}")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 54 | emit | ref | function | self.emit(f'size="{size}"')
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 61 | emit | ref | function | self.emit(f'charset="{charset}"')
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 63 | emit | ref | function | self.emit("=".join(param))
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 65 | get_source | def | function | def get_source(self) -> str:
"""Returns self._source."""
if self._source is None:
self.emit("}\n")
self._source = "\n".join(self.lines)
del self.lines
return self._source
source = property(get_source)
def generate(
self, outputfile: str |... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 68 | emit | ref | function | self.emit("}\n")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 75 | generate | def | function | def generate(
self, outputfile: str | None = None, mapfile: str | None = None
) -> str:
"""Generates a graph file.
:param str outputfile: filename and path [defaults to graphname.png]
:param str mapfile: filename and path
:rtype: str
:return: a path to the gener... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 96 | target_info_from_filename | ref | function | _, _, target = target_info_from_filename(outputfile)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 138 | emit | def | function | def emit(self, line: str) -> None:
"""Adds <line> to final output."""
self.lines.append(line)
def emit_edge(self, name1: str, name2: str, **props: Any) -> None:
"""Emit an edge from <name1> to <name2>.
For edge properties: see https://www.graphviz.org/doc/info/attrs.html
... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 142 | emit_edge | def | function | def emit_edge(self, name1: str, name2: str, **props: Any) -> None:
"""Emit an edge from <name1> to <name2>.
For edge properties: see https://www.graphviz.org/doc/info/attrs.html
"""
attrs = [f'{prop}="{value}"' for prop, value in props.items()]
n_from, n_to = normalize_node_... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 148 | normalize_node_id | ref | function | n_from, n_to = normalize_node_id(name1), normalize_node_id(name2)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 148 | normalize_node_id | ref | function | n_from, n_to = normalize_node_id(name1), normalize_node_id(name2)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 149 | emit | ref | function | self.emit(f"{n_from} -> {n_to} [{', '.join(sorted(attrs))}];")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 151 | emit_node | def | function | def emit_node(self, name: str, **props: Any) -> None:
"""Emit a node with given properties.
For node properties: see https://www.graphviz.org/doc/info/attrs.html
"""
attrs = [f'{prop}="{value}"' for prop, value in props.items()]
self.emit(f"{normalize_node_id(name)} [{', '.j... |
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 157 | emit | ref | function | self.emit(f"{normalize_node_id(name)} [{', '.join(sorted(attrs))}];")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 157 | normalize_node_id | ref | function | self.emit(f"{normalize_node_id(name)} [{', '.join(sorted(attrs))}];")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 160 | normalize_node_id | def | function | def normalize_node_id(nid: str) -> str:
"""Returns a suitable DOT node id for `nid`."""
return f'"{nid}"'
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 165 | get_cycles | def | function | def get_cycles(
graph_dict: dict[str, set[str]], vertices: list[str] | None = None
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 177 | _get_cycles | ref | function | _get_cycles(graph_dict, [], set(), result, vertice)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 181 | _get_cycles | def | function | def _get_cycles(
graph_dict: dict[str, set[str]],
path: list[str],
visited: set[str],
result: list[list[str]],
vertice: str,
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/graph.py | pylint/graph.py | 208 | _get_cycles | ref | function | _get_cycles(graph_dict, path, visited, result, node)
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/interfaces.py | pylint/interfaces.py | 37 | Confidence | ref | function | HIGH = Confidence("HIGH", "Warning that is not based on inference result.")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/interfaces.py | pylint/interfaces.py | 38 | Confidence | ref | function | CONTROL_FLOW = Confidence(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/interfaces.py | pylint/interfaces.py | 41 | Confidence | ref | function | INFERENCE = Confidence("INFERENCE", "Warning based on inference result.")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/interfaces.py | pylint/interfaces.py | 42 | Confidence | ref | function | INFERENCE_FAILURE = Confidence(
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/interfaces.py | pylint/interfaces.py | 45 | Confidence | ref | function | UNDEFINED = Confidence("UNDEFINED", "Warning without any associated confidence level.")
|
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/interfaces.py | pylint/interfaces.py | 51 | Interface | def | class | __init__ is_implemented_by |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.