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
resolves_fixture_declarations_from_stub_only_classes
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2515
Function
resolves_fixture_reexports_through_stub_only_modules
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2558
Function
resolves_fixtures_for_nested_test_classes
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2083
Function
resolves_fixtures_in_test_class_bases
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:1870
Function
resolves_imported_fixture_declarations_from_source_when_available
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2432
Function
resolves_imported_fixture_exposures
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2285
Function
resolves_installed_core_plugins_in_registration_order
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:3084
Function
resolves_same_file_fixture_declarations_and_dependencies
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:1607
Function
resource_factory
(request)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT021.py:32
Function
respect_type_ignore_comments_is_turned_off
()
crates/ty/tests/cli/analysis_options.rs:7
Function
respond
Sends back a response to the client, but only if the request wasn't cancelled.
crates/ty_server/src/server/api.rs:520
Function
respond
Sends back a response to the server, but only if the request wasn't cancelled.
crates/ruff_server/src/server/api.rs:322
Method
respond
(&mut self, request_id: RequestId, result: impl serde::Serialize)
crates/ruff_server/tests/e2e/main.rs:886
Function
response_files_preserve_literal_at_paths
()
crates/ty/tests/cli/file_selection.rs:1248
Function
rest_markdown_does_not_special_case_first_line_field_continuation
()
crates/ty_ide/src/docstring.rs:1327
Method
restore
Restores a cursor from the snapshot for the given key.
crates/ty_module_resolver/src/resolve/search.rs:314
Function
restore_consumed_stack
()
crates/ruff_formatter/src/printer/stack.rs:83
Function
restore_partially_consumed_stack
()
crates/ruff_formatter/src/printer/stack.rs:99
Function
restore_stack
()
crates/ruff_formatter/src/printer/stack.rs:116
Method
restore_state_snapshot
Restore the state of the formatter to a previous snapshot
crates/ruff_formatter/src/formatter.rs:212
Function
restoring_script_metadata_rewatches_search_path
()
crates/ty/tests/file_watching.rs:1718
Function
restrict_to_this_line
(arg1, arg2, arg3)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_two_passes.py:9
Method
result_id_from_hash
Computes the result ID for the filtered `diagnostics`. The result ID is `None` if there are no diagnostics or hints.
crates/ty_server/src/server/api/diagnostics.rs:44
Function
resumes_after_markdown_fence
()
crates/ty_ide/src/docstring/document/google.rs:1411
Function
resumes_after_rest_directive
()
crates/ty_ide/src/docstring/document/google.rs:1445
Function
resumes_after_rest_literal_block
()
crates/ty_ide/src/docstring/document/google.rs:1428
Function
resumes_after_unindented_markdown_fence_following_rest_literal_marker
()
crates/ty_ide/src/docstring/document/google.rs:1458
Function
retain_extra_whitespace
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative to the
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:670
Function
retain_extra_whitespace_deeper
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative to the
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:692
Function
retain_extra_whitespace_followed_by_same_offset
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative This is ove
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:701
Function
retain_extra_whitespace_multiple
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative to the
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:679
Function
retain_extra_whitespace_not_overindented
Summary. This is not overindented This is overindented, but since one line is not overindented this should not raise And so i
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:711
Function
return_annotation_is_class_scope_variable
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4190
Function
return_annotation_is_function_body_variable
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4205
Function
return_not_counted
()
crates/ruff_linter/src/rules/pylint/helpers.rs:594
Method
return_stmt
(self)
crates/ruff_python_ast/src/generated.rs:449
Function
return_true
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments_in_double_parens.py:32
Function
return_type
(arg: Optional = None)
crates/ruff_linter/resources/test/fixtures/ruff/RUF013_4.py:18
Method
return_type
( context: InlayHintImportContext<'_, 'db>, function: &ruff_python_ast::StmtFunctionDef,
crates/ty_ide/src/inlay_hints.rs:251
Function
return_type_hint_imports
()
crates/ty_ide/src/inlay_hints.rs:1256
Function
returning_to_previous_metadata_resynchronizes_the_environment
()
crates/ty_project/src/uv/environments.rs:1106
Function
returns_before_args
Summary. Returns: int Args: x: Description.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:30
Function
returns_iterator
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:97
Function
returns_list
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:154
Method
returns_nominal_instance
Specializing a nominal return type can change a descriptor's type arguments, but it cannot turn the descriptor into an abstract function, bound method
crates/ty_python_semantic/src/types/infer/builder.rs:12268
Function
returns_none
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:164
Function
returns_scalar
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:149
Function
returns_section_fragments_and_range
()
crates/ty_ide/src/docstring/document/google.rs:1525
Function
returns_structured_section_kinds_in_source_order
()
crates/ty_ide/src/docstring/document/google.rs:1499
Function
returns_then_unordered_then_args
Summary. Returns: int Notes: Some notes. Args: x: Description.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:146
Function
returns_tuple
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:159
Function
returns_value
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:73
Function
revealed_match
()
crates/mdtest/src/matcher.rs:632
Function
revealed_match_with_only_undefined
()
crates/mdtest/src/matcher.rs:739
Function
revealed_match_with_undefined
()
crates/mdtest/src/matcher.rs:722
Function
revealed_mismatch_with_undefined
()
crates/mdtest/src/matcher.rs:753
Function
revealed_unmatched
()
crates/mdtest/src/matcher.rs:715
Function
revealed_wrong_message
()
crates/mdtest/src/matcher.rs:692
Function
revealed_wrong_rule
()
crates/mdtest/src/matcher.rs:669
Method
reverse_bound
(bound: Option<i32>)
crates/ty_python_semantic/src/types/tuple.rs:1550
Method
reverse_index
(index: i32)
crates/ty_python_semantic/src/types/tuple.rs:1545
Method
revision
(&self)
crates/ruff_db/src/vendored.rs:317
Function
revision_from_file_time
()
crates/ruff_db/src/file_revision.rs:59
Method
rewind
(&mut self, checkpoint: InterpolatedStringsCheckpoint)
crates/ruff_python_parser/src/lexer/interpolated_string.rs:151
Method
rewind
(&mut self, checkpoint: IndentationsCheckpoint)
crates/ruff_python_parser/src/lexer/indentation.rs:134
Function
rewrite_client_arrays
Function from https://github.com/zulip/zulip/blob/3da91e951cd03cfa0b9c67378224e348353f36a6/analytics/views/stats.py#L617C1-L626C25
crates/ruff_linter/resources/test/fixtures/pylint/unnecessary_dict_index_lookup.py:43
Function
rewrites_alias_names_and_preserves_asnames_in_a_plain_import
()
crates/ty_ide/src/will_rename.rs:1141
Function
rewrites_imports_for_multiple_module_renames
()
crates/ty_ide/src/will_rename.rs:1264
Function
rewrites_module_fields_and_alias_names_in_an_import_from
()
crates/ty_ide/src/will_rename.rs:1169
Function
rewrites_module_references_in_string_annotations
()
crates/ty_ide/src/will_rename.rs:1225
Function
rewrites_references_only_when_import_definitions_agree
()
crates/ty_ide/src/will_rename.rs:1353
Function
right_assoc_pow_chain_grows_stack
()
crates/ruff_python_parser/src/parser/tests.rs:479
Method
root
()
crates/ty_module_resolver/src/resolve/search.rs:1541
Method
root
()
crates/ruff_python_parser/src/lexer/indentation.rs:40
Method
root
Create a [`PackageRoot::Root`] variant.
crates/ruff_linter/src/package.rs:24
Function
root_directory_for_search_path_is_okay
()
crates/ty_module_resolver/src/list.rs:1638
Function
root_gitignore_file_requires_repository
()
crates/ruff_db/src/system/os/ignore.rs:102
Function
root_ignore_file_allowlist_overrides_root_gitignore_file
()
crates/ruff_db/src/system/os/ignore.rs:121
Function
root_ignore_file_cannot_prune_deeper_file_match
()
crates/ruff_db/src/system/os/ignore.rs:150
Function
root_ignore_file_prunes_top_level_directory
()
crates/ruff_db/src/system/os/ignore.rs:90
Function
rooted_exclusion
()
crates/ruff_workspace/src/resolver.rs:1027
Function
round_trip
Run round-trip source code generation on a given Python code.
crates/ruff_python_codegen/src/lib.rs:9
Function
round_trip
(contents: &str)
crates/ruff_python_codegen/src/generator.rs:1650
Method
row_is_all_th
(row)
crates/ruff_server/resources/test/fixtures/pandas_html.py:455
Function
rst_directive_case_insensitive
.. cOdE-bLoCk:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:619
Function
rst_directive_doctest
.. code-block:: pycon >>> cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:661
Function
rst_directive_options
.. code-block:: python :linenos: :emphasize-lines: 2,3 :name: blah blah cool_stuff( 1 ) cool_stuff( 2 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:641
Function
rst_directive_simple
.. code-block:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:608
Function
rst_directive_skipped_doctest
.. code-block:: python >>> cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:835
Function
rst_directive_skipped_not_indented
.. code-block:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:811
Function
rst_directive_skipped_wrong_language
.. code-block:: rust cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:822
Function
rst_directive_sourcecode
.. sourcecode:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:630
Function
rst_literal_actually_last
Do cool stuff:: cool_stuff( 1 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:399
Function
rst_literal_extra_blanks
Do cool stuff:: cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:423
Function
rst_literal_extra_blanks_at_end
Do cool stuff:: cool_stuff( 1 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:441
Function
rst_literal_extra_blanks_in_snippet
Do cool stuff:: cool_stuff( 1 ) cool_stuff( 2 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:456
Function
rst_literal_first_line_indent_uses_tabs_4spaces
Do cool stuff:: cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:493
Function
rst_literal_first_line_indent_uses_tabs_4spaces_multiple
Do cool stuff:: cool_stuff( 1 ) cool_stuff( 2 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:505
Function
rst_literal_first_line_indent_uses_tabs_8spaces
Do cool stuff:: cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:524
Function
rst_literal_first_line_indent_uses_tabs_8spaces_multiple
Do cool stuff:: cool_stuff( 1 ) cool_stuff( 2 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:536
← previous
next →
27,701–27,800 of 31,562, ranked by callers