Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,766 in github.com/astral-sh/ruff
⨍
Functions
31,766
◇
Types & classes
7,128
↳
Endpoints
82
Function
call_prefix1
()
crates/ty_ide/src/completion.rs:5429
Method
call_subscript_method
( db: &'db dyn Db, program: Program<'db>, method: DunderMethod,
crates/ty_python_semantic/src/types/subscript.rs:96
Function
call_type_doesnt_rerun_when_only_callee_changed
()
crates/ty_python_semantic/src/types/infer/tests.rs:2190
Function
call_unwrapping_preserves_context
()
crates/ruff_python_edits/src/call.rs:121
Method
callable_mut
(&mut self)
crates/ty_python_semantic/src/types/call/bind/constructor.rs:85
Function
callable_shrinks_parameters_and_return_type
(shrink: CallableShrink)
crates/ty_python_semantic/src/types/property_tests/type_generation.rs:820
Method
callables
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, )
crates/ty_python_semantic/src/types/known_instance.rs:166
Method
callback
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:983
Method
called_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:87
Method
called_lru_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:103
Function
caller_fixed_upper_bound_failures_preserve_evidence_and_order
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:332
Method
callsite_enabled
(&self, meta: &'static Metadata<'static>)
crates/ty_server/src/logging.rs:134
Function
camelcase_imported_as_incorrect_convention
()
crates/ruff_linter/src/rules/pep8_naming/mod.rs:93
Function
can_access_inside
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:29
Function
can_access_inside_nested
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:108
Method
can_access_parent_type_parameter
(self, x: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:98
Function
can_even_catch_lambdas
(a=(lambda x: x)())
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:134
Function
can_find_site_packages_directory_freethreaded_build
()
crates/ty_site_packages/src/lib.rs:2916
Function
can_find_site_packages_directory_no_virtual_env
()
crates/ty_site_packages/src/lib.rs:2785
Function
can_find_site_packages_directory_no_virtual_env_at_origin_self_environment
()
crates/ty_site_packages/src/lib.rs:2851
Function
can_find_site_packages_directory_no_virtual_env_at_origin_uv_metadata
()
crates/ty_site_packages/src/lib.rs:2799
Function
can_find_site_packages_directory_no_virtual_env_freethreaded
()
crates/ty_site_packages/src/lib.rs:2811
Function
can_find_site_packages_directory_uv_style_version_field_in_pyvenv_cfg
()
crates/ty_site_packages/src/lib.rs:2882
Function
can_find_site_packages_directory_venv_style_version_field_in_pyvenv_cfg
()
crates/ty_site_packages/src/lib.rs:2865
Function
can_find_site_packages_directory_virtualenv_style_version_field_in_pyvenv_cfg
()
crates/ty_site_packages/src/lib.rs:2899
Function
can_handle_large_binop_expressions
()
crates/ty/tests/cli/main.rs:1080
Function
can_parse_mock_versions_file
()
crates/ty_module_resolver/src/typeshed.rs:423
Function
can_parse_vendored_versions_file
()
crates/ty_module_resolver/src/typeshed.rs:320
Method
can_register_narrowing_alias
(value: &ast::Expr)
crates/ty_python_core/src/builder.rs:1201
Method
can_suppress_exceptions_impl
( db: &'db dyn Db, program: Program<'db>, manager: Type<'db>,
crates/ty_python_semantic/src/types/context_manager.rs:73
Method
can_use_class_variable
(self, x: t)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:94
Method
cancel
Cancels the pending request with the given id. Returns the method name if the request was still pending, `None` if it was already completed.
crates/ty_server/src/session/request_queue.rs:69
Method
cancel
Requests cancellation for operations using this token.
crates/ruff_db/src/cancellation.rs:32
Method
cancel
Cancels the pending request with the given id. Returns the method name if the request was still pending, `None` if it was already completed.
crates/ruff_server/src/session/request_queue.rs:69
Method
cancel
(&mut self, request_id: &RequestId)
crates/ruff_server/tests/e2e/main.rs:651
Function
cancelled_file_indexing_recovers_file_set
()
crates/ty_project/src/files.rs:342
Method
candidates_from_name
Parse a `SpecialFormType` from its runtime symbol name.
crates/ty_python_semantic/src/types/special_form.rs:291
Function
cannot_access_in_default
(t: T = T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:116
Method
cannot_access_parent_variable
(self, x: t)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:102
Function
cannot_find_site_packages_directory
()
crates/ty_site_packages/src/lib.rs:3060
Function
cannot_find_site_packages_directory_no_virtual_env_at_origin_local_venv
()
crates/ty_site_packages/src/lib.rs:2838
Function
cannot_find_site_packages_directory_no_virtual_env_at_origin_virtual_env_var
()
crates/ty_site_packages/src/lib.rs:2825
Function
cannot_fix
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:154
Function
cannot_generate_name_for_lang
()
crates/mdtest/src/parser.rs:1674
Function
cannot_read_lib_directory
()
crates/ty_site_packages/src/lib.rs:3033
Function
cannot_rename_builtin_type
()
crates/ty_ide/src/rename.rs:1206
Function
cannot_rename_external_file
()
crates/ty_ide/src/rename.rs:1003
Function
cannot_rename_from_import_module_component
()
crates/ty_ide/src/rename.rs:990
Function
cannot_rename_import_module_component
()
crates/ty_ide/src/rename.rs:977
Function
cannot_rename_keyword
()
crates/ty_ide/src/rename.rs:1191
Function
cannot_rename_private_builtin_helper
()
crates/ty_ide/src/rename.rs:1219
Method
cannot_satisfy_iterable_check
Fast path for conditions with ambiguous truthiness, so that we do not have to materialize `GeneratorType` specializations for common cases such as `bo
crates/ty_python_semantic/src/types/infer/builder/suspicious_conditions/mod.rs:878
Function
canonical_equivalents_have_distinct_normalized_displays
()
crates/ruff_python_literal/src/escape.rs:718
Method
canonicalize_path
(&self, path: &SystemPath)
crates/ruff_db/src/system/os.rs:83
Function
canonically_equivalent_strings
()
crates/ruff_python_literal/src/escape.rs:698
Function
capitalized_bytes
B" NOT A DOCSTRING
crates/ruff_python_formatter/resources/test/fixtures/black/cases/bytes_docstring.py:13
Function
captured_alias_dependency_is_not_closed_by_its_argument
()
crates/ty_python_semantic/src/types/constraints/resolution.rs:283
Function
captures_safe_local_binding_kinds
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:269
Function
captures_unused_function_and_lambda_parameters
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:641
Function
carriage_return_line_endings
()
crates/ruff_python_ast/src/script.rs:238
Function
case
()
crates/ruff_annotate_snippets/tests/color/multiple_multiline_removal.rs:8
Function
case
()
crates/ruff_annotate_snippets/tests/color/regression_leading_tab_long_line.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/highlight_source.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/strip_line.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/fold_ann_multiline.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/styled_title.rs:9
Function
case
()
crates/ruff_annotate_snippets/tests/color/highlight_source_zero_width_chars.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/fold_trailing.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/strip_line_char.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/highlight_diff_line_with_wide_characters.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/multiple_highlight_duplicated.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/fold_bad_origin_line.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/ensure_emoji_highlight_width.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/ann_eof.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/primary_title_second_group.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/highlight_source_multi_width_chars.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/ann_removed_nl.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/fold_leading.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/multiline_removal_suggestion.rs:8
Function
case
()
crates/ruff_annotate_snippets/tests/color/highlight_duplicated_diff_lines.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/strip_line_non_ws.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/ann_multiline2.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/issue_9.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/first_snippet_is_primary.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/ann_multiline.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/regression_leading_tab_label_alignment.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/multiple_annotations.rs:6
Function
case
()
crates/ruff_annotate_snippets/tests/color/ann_insertion.rs:6
Function
case_sensitive
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:572
Function
case_sensitive_resolution_with_symlinked_directory
()
crates/ty_module_resolver/src/resolve.rs:3476
Function
case_sensitive_resolution_with_symlinked_directory
()
crates/ty_module_resolver/src/list.rs:1211
Function
cast_notification
Tries to cast a serialized request from the server into a parameter type for a specific request handler.
crates/ty_server/src/server/api.rs:554
Function
cast_notification
Tries to cast a serialized request from the server into a parameter type for a specific request handler.
crates/ruff_server/src/server/api.rs:348
Function
cast_request
Tries to cast a serialized request from the server into a parameter type for a specific request handler. It is *highly* recommended to not override th
crates/ty_server/src/server/api.rs:503
Function
cast_request
Tries to cast a serialized request from the server into a parameter type for a specific request handler. It is *highly* recommended to not override th
crates/ruff_server/src/server/api.rs:294
Method
catch_all
()
crates/ty_python_core/src/builder/except_handlers.rs:25
Function
category_descriptions
()
crates/ruff_linter/src/codes.rs:1416
Function
category_names_do_not_conflict_with_rule_names
()
crates/ruff_linter/src/codes.rs:1406
Function
cell_range_by_raw_cell_index
()
crates/ruff_notebook/src/notebook.rs:690
Function
cell_source
(cell: &ruff_notebook::Cell)
crates/ruff_server/src/fix.rs:99
← previous
next →
16,701–16,800 of 31,766, ranked by callers