MCPcopy Create free account

hub / github.com/astral-sh/ruff / functions

Functions31,562 in github.com/astral-sh/ruff

Functionlist_snapshot
(db: &TestDb)
crates/ty_module_resolver/src/list.rs:58
Functionlisting_is_sorted
()
crates/ruff_db/src/files/directory.rs:187
Functionliteral_backticks_do_not_swallow_the_following_field
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:811
Methodliteral_block_marker
Tries to identify a marker that introduces a reST literal block.
crates/ty_ide/src/docstring/document/preformatted.rs:245
Functionliteral_blocks_take_precedence_over_markdown_fences_in_preformatted_blocks
()
crates/ty_ide/src/docstring/document/rst.rs:1052
Functionliteral_blocks_use_marker_indentation_as_exit_threshold
()
crates/ty_ide/src/docstring/document/rst.rs:1068
Functionliteral_colon
()
crates/ty_ide/src/docstring.rs:257
Functionliteral_doctest
()
crates/ty_ide/src/docstring.rs:999
Functionliteral_fallthrough_value
(index: usize)
crates/ruff_benchmark/benches/ty.rs:1837
Functionliteral_flush
()
crates/ty_ide/src/docstring.rs:412
Functionliteral_intersection_simplification_matches_relations
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3028
Functionliteral_keys_preserve_part_boundaries
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:112
Functionliteral_own_line
()
crates/ty_ide/src/docstring.rs:335
Functionliteral_space
()
crates/ty_ide/src/docstring.rs:296
Functionliteral_squeezed
()
crates/ty_ide/src/docstring.rs:376
Methodliteral_string
Create a `LiteralString`.
crates/ty_python_semantic/src/types.rs:3443
Functionliteral_type_some_other_module
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4401
Functionliteral_type_typing
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4334
Functionliteral_type_typing_extensions
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4347
Functionliteral_union_type_typing
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4418
Functionload_library
It is possible to load a library using >>> lib = ctypes.cdll[<full_path_name>] # doctest: +SKIP But there are cross-platfor
crates/ruff_benchmark/resources/numpy/ctypeslib.py:90
Functionlocal_function_variable_with_return
()
crates/ty_ide/src/completion.rs:10697
Functionlocal_mcs_binding
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:41
Functionlocal_self_binding
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:25
Functionlocation
(point)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/match.py:29
Methodlog_message
(client: LSPClient, params: lsp.LogMessageParams)
scripts/ty_benchmark/src/benchmark/lsp_client.py:85
Functionlogging_call
Check logging calls for violations.
crates/ruff_linter/src/rules/flake8_logging_format/rules/logging_call.rs:270
Functionlogical
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:203
Functionlong_docstring
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:312
Functionlong_e0308
()
crates/ruff_annotate_snippets/tests/formatter.rs:2681
Functionlong_function_name
(argument_one, argument_two, argument_three, argument_four, argument_five, argument_six, *rest)
crates/ruff_python_formatter/resources/test/fixtures/black/miscellaneous/force_py36.py:3
Functionlong_function_name
( var_one, var_two, var_three, var_four)
crates/ruff_linter/resources/test/fixtures/pycodestyle/W19.py:54
Functionlong_function_name_goes_here
( x: Callable[List[int]] )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/typed_params_trailing_comma.py:1
Functionlong_line_cut
()
crates/ruff_annotate_snippets/tests/formatter.rs:5412
Functionlong_line_cut_custom
()
crates/ruff_annotate_snippets/tests/formatter.rs:5430
Functionlong_lines
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff.py:129
Functionlong_lines
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/function.py:45
Functionlong_one_with_long_parameter_names
( but_all_of_them, are_positional_only, arguments_mmmmkay, so_this_is_only_valid_after, th
crates/ruff_python_formatter/resources/test/fixtures/black/cases/pep_570.py:27
Functionlong_params
(a, b, c, d, e, f, g)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:10
Functionlong_snippet
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:963
Functionlong_snippet_multiple_spans
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1041
Functionlong_span_long
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2369
Functionlong_span_longest
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2413
Functionlong_span_short
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2325
Functionlong_span_shortest
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2283
Functionlonger
(something_that_is_long: something_that_is_long)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_param_defaults.py:12
Functionlonger_line_number_end_of_context
()
crates/ruff_db/src/diagnostic/render/full.rs:1074
Methodlookup_dunder_new_inner
( db: &'db dyn Db, program: Program<'db>, ty: Type<'db>, polic
crates/ty_python_semantic/src/types.rs:4456
Functionloop_assign
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N806.py:39
Functionloop_carried_rebinding_is_not_reported_unused
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:307
Functionloop_deletions_preserve_builtin_fallbacks
()
crates/ty_python_semantic/src/semantic_model.rs:1652
Functionloop_header_reachability_cycle_recover
( _db: &'db dyn Db, cycle: &salsa::Cycle, previous: &LoopHeaderReachability<'db>, result: Loop
crates/ty_python_semantic/src/place.rs:1679
Functionloop_predicate_tracks_changes_to_bool_method
()
crates/ty_python_semantic/src/types/infer/tests.rs:577
Functionloop_variable_types_are_independent_of_file_order
()
crates/ty_python_semantic/src/types/infer/tests.rs:516
Functionlowercase_sub_section_header
Below, `returns:` should _not_ be considered a section header. Args: Here's a note. returns:
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:547
Methodlowest
The minimum supported Python version.
crates/ruff_python_ast/src/python_version.rs:59
Functionlru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_0.py:40
Functionlru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP011.py:61
Functionlru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_1.py:45
Methodlru_cached_classmethod
(cls, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:41
Methodlru_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:95
Methodlru_cached_instance_method_on_metaclass
(cls, x: int)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:125
Methodlru_cached_staticmethod
(y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:61
Methodlsp_command
Generate command to start LSP server, or None if not supported.
scripts/ty_benchmark/src/benchmark/tool.py:76
Methodlsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:210
Methodlsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:272
Methodlsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:321
Methodlsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:428
Methodlsp_initialization_options
( self, project: Project, venv: Venv )
scripts/ty_benchmark/src/benchmark/tool.py:418
Functionlwnlkjl
Summary
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:354
Functionm
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:155
Functionm
(x: (yield from 1))
crates/ruff_python_parser/resources/inline/ok/valid_annotation_function_py313.py:7
Functionm
(x: (yield from 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function_py314.py:7
Functionm
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:46
Methodm
(cls: type[S], /)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:94
Methodm
(cls: builtins.type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:102
Methodm
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:109
Methodm
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:114
Methodm
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:118
Methodm
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:135
Methodm
(self: S, other: T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:140
Methodm
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:144
Methodm
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:154
Methodm
(self: _T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:159
Methodm
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:164
Methodm
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:173
Methodm
(cls: MetaType)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:182
Methodm
(cls: "type[S]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:205
Methodm
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:36
Methodm
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:85
Functionmacros_not_utf8
()
crates/ruff_annotate_snippets/tests/formatter.rs:3359
Functionmagic
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_params.py:13
Functionmagic_globals_builtins
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1202
Functionmagic_globals_file
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1195
Functionmagic_globals_name
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1224
Functionmagic_module_in_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1231
Functionmagic_qualname_in_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1253
Functionmain
Run the benchmark.
scripts/ty_benchmark/src/benchmark/run.py:21
Functionmain
()
crates/ruff_annotate_snippets/examples/highlight_source.rs:3
Functionmain
()
crates/ruff_annotate_snippets/examples/format.rs:3
← previousnext →23,601–23,700 of 31,562, ranked by callers