Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,562 in github.com/astral-sh/ruff
⨍
Functions
31,562
◇
Types & classes
7,116
↳
Endpoints
82
Function
list_snapshot
(db: &TestDb)
crates/ty_module_resolver/src/list.rs:58
Function
listing_is_sorted
()
crates/ruff_db/src/files/directory.rs:187
Function
literal_backticks_do_not_swallow_the_following_field
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:811
Method
literal_block_marker
Tries to identify a marker that introduces a reST literal block.
crates/ty_ide/src/docstring/document/preformatted.rs:245
Function
literal_blocks_take_precedence_over_markdown_fences_in_preformatted_blocks
()
crates/ty_ide/src/docstring/document/rst.rs:1052
Function
literal_blocks_use_marker_indentation_as_exit_threshold
()
crates/ty_ide/src/docstring/document/rst.rs:1068
Function
literal_colon
()
crates/ty_ide/src/docstring.rs:257
Function
literal_doctest
()
crates/ty_ide/src/docstring.rs:999
Function
literal_fallthrough_value
(index: usize)
crates/ruff_benchmark/benches/ty.rs:1837
Function
literal_flush
()
crates/ty_ide/src/docstring.rs:412
Function
literal_intersection_simplification_matches_relations
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3028
Function
literal_keys_preserve_part_boundaries
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:112
Function
literal_own_line
()
crates/ty_ide/src/docstring.rs:335
Function
literal_space
()
crates/ty_ide/src/docstring.rs:296
Function
literal_squeezed
()
crates/ty_ide/src/docstring.rs:376
Method
literal_string
Create a `LiteralString`.
crates/ty_python_semantic/src/types.rs:3443
Function
literal_type_some_other_module
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4401
Function
literal_type_typing
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4334
Function
literal_type_typing_extensions
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4347
Function
literal_union_type_typing
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4418
Function
load_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
Function
local_function_variable_with_return
()
crates/ty_ide/src/completion.rs:10697
Function
local_mcs_binding
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:41
Function
local_self_binding
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:25
Function
location
(point)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/match.py:29
Method
log_message
(client: LSPClient, params: lsp.LogMessageParams)
scripts/ty_benchmark/src/benchmark/lsp_client.py:85
Function
logging_call
Check logging calls for violations.
crates/ruff_linter/src/rules/flake8_logging_format/rules/logging_call.rs:270
Function
logical
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:203
Function
long_docstring
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:312
Function
long_e0308
()
crates/ruff_annotate_snippets/tests/formatter.rs:2681
Function
long_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
Function
long_function_name
( var_one, var_two, var_three, var_four)
crates/ruff_linter/resources/test/fixtures/pycodestyle/W19.py:54
Function
long_function_name_goes_here
( x: Callable[List[int]] )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/typed_params_trailing_comma.py:1
Function
long_line_cut
()
crates/ruff_annotate_snippets/tests/formatter.rs:5412
Function
long_line_cut_custom
()
crates/ruff_annotate_snippets/tests/formatter.rs:5430
Function
long_lines
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff.py:129
Function
long_lines
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/function.py:45
Function
long_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
Function
long_params
(a, b, c, d, e, f, g)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:10
Function
long_snippet
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:963
Function
long_snippet_multiple_spans
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1041
Function
long_span_long
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2369
Function
long_span_longest
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2413
Function
long_span_short
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2325
Function
long_span_shortest
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2283
Function
longer
(something_that_is_long: something_that_is_long)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_param_defaults.py:12
Function
longer_line_number_end_of_context
()
crates/ruff_db/src/diagnostic/render/full.rs:1074
Method
lookup_dunder_new_inner
( db: &'db dyn Db, program: Program<'db>, ty: Type<'db>, polic
crates/ty_python_semantic/src/types.rs:4456
Function
loop_assign
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N806.py:39
Function
loop_carried_rebinding_is_not_reported_unused
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:307
Function
loop_deletions_preserve_builtin_fallbacks
()
crates/ty_python_semantic/src/semantic_model.rs:1652
Function
loop_header_reachability_cycle_recover
( _db: &'db dyn Db, cycle: &salsa::Cycle, previous: &LoopHeaderReachability<'db>, result: Loop
crates/ty_python_semantic/src/place.rs:1679
Function
loop_predicate_tracks_changes_to_bool_method
()
crates/ty_python_semantic/src/types/infer/tests.rs:577
Function
loop_variable_types_are_independent_of_file_order
()
crates/ty_python_semantic/src/types/infer/tests.rs:516
Function
lowercase_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
Method
lowest
The minimum supported Python version.
crates/ruff_python_ast/src/python_version.rs:59
Function
lru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_0.py:40
Function
lru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP011.py:61
Function
lru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_1.py:45
Method
lru_cached_classmethod
(cls, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:41
Method
lru_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:95
Method
lru_cached_instance_method_on_metaclass
(cls, x: int)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:125
Method
lru_cached_staticmethod
(y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:61
Method
lsp_command
Generate command to start LSP server, or None if not supported.
scripts/ty_benchmark/src/benchmark/tool.py:76
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:210
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:272
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:321
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:428
Method
lsp_initialization_options
( self, project: Project, venv: Venv )
scripts/ty_benchmark/src/benchmark/tool.py:418
Function
lwnlkjl
Summary
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:354
Function
m
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:155
Function
m
(x: (yield from 1))
crates/ruff_python_parser/resources/inline/ok/valid_annotation_function_py313.py:7
Function
m
(x: (yield from 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function_py314.py:7
Function
m
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:46
Method
m
(cls: type[S], /)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:94
Method
m
(cls: builtins.type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:102
Method
m
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:109
Method
m
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:114
Method
m
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:118
Method
m
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:135
Method
m
(self: S, other: T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:140
Method
m
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:144
Method
m
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:154
Method
m
(self: _T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:159
Method
m
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:164
Method
m
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:173
Method
m
(cls: MetaType)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:182
Method
m
(cls: "type[S]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:205
Method
m
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:36
Method
m
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:85
Function
macros_not_utf8
()
crates/ruff_annotate_snippets/tests/formatter.rs:3359
Function
magic
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_params.py:13
Function
magic_globals_builtins
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1202
Function
magic_globals_file
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1195
Function
magic_globals_name
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1224
Function
magic_module_in_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1231
Function
magic_qualname_in_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1253
Function
main
Run the benchmark.
scripts/ty_benchmark/src/benchmark/run.py:21
Function
main
()
crates/ruff_annotate_snippets/examples/highlight_source.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/format.rs:3
← previous
next →
23,601–23,700 of 31,562, ranked by callers