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
suggestion_different_path_than_primary
()
crates/ruff_annotate_snippets/tests/formatter.rs:5241
Function
suggestion_no_fold
()
crates/ruff_annotate_snippets/tests/formatter.rs:4958
Function
suggestion_no_fold_replacement_ends_with_newline
()
crates/ruff_annotate_snippets/tests/formatter.rs:5059
Function
suggestion_same_as_source
()
crates/ruff_annotate_snippets/tests/formatter.rs:4336
Function
suggestion_span_bigger_than_source
()
crates/ruff_annotate_snippets/tests/formatter.rs:4086
Function
suggestion_span_line_end
()
crates/ruff_annotate_snippets/tests/formatter.rs:3815
Function
suggestion_span_one_bigger_than_source
()
crates/ruff_annotate_snippets/tests/formatter.rs:3993
Function
suggestion_span_source_end
()
crates/ruff_annotate_snippets/tests/formatter.rs:3901
Function
super_method_call
()
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:726
Function
super_method_call
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:869
Function
super_resolution_overview
()
crates/ruff_server/tests/e2e/notebook.rs:203
Function
super_without_class
()
crates/ruff_linter/resources/test/fixtures/pylint/super_without_brackets.py:29
Function
superfluous_suffix
Toggle the gizmo. Returns: ------- A value of some sort.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:29
Function
supertypes_generic_base
()
crates/ty_ide/src/type_hierarchy.rs:204
Function
supertypes_implicit_object
()
crates/ty_ide/src/type_hierarchy.rs:224
Function
supertypes_multiple_inheritance
()
crates/ty_ide/src/type_hierarchy.rs:181
Function
supertypes_simple_inheritance
()
crates/ty_ide/src/type_hierarchy.rs:165
Function
supported_file_extensions
()
crates/ruff/tests/cli/lint.rs:4886
Function
supported_file_extensions_preview_enabled
()
crates/ruff/tests/cli/lint.rs:4966
Method
supports_dynamic_formatting
(client_capabilities: &ClientCapabilities)
crates/ruff_server/src/server.rs:156
Method
supports_dynamic_range_formatting
(client_capabilities: &ClientCapabilities)
crates/ruff_server/src/server.rs:165
Function
supports_only_markdown
()
crates/ty_server/tests/e2e/hover.rs:26
Function
supports_only_plain_text
()
crates/ty_server/tests/e2e/hover.rs:35
Function
suppress_all_in
(source: &str)
crates/ty_python_semantic/src/fixes.rs:1995
Function
suppress_dummy_args
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:67
Function
suppress_none_returning
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:146
Function
suppressed_call_error_skips_callable_description
()
crates/ty_python_semantic/src/types/infer/tests.rs:1109
Function
suppressed_doctest
Do cool stuff. <RANGE_START> >>> cool_stuff( x ) >>> cool_stuff( y ) 2<RANGE_END>
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/docstring_code_examples.py:32
Method
swap
(&mut self, a: I, b: I)
crates/ruff_index/src/slice.rs:106
Function
swap_cells
()
crates/ty_server/tests/e2e/notebook.rs:316
Function
swap_cells
()
crates/ruff_server/src/edit/notebook.rs:320
Method
symbol
(&self, id: ScopedSymbolId)
crates/ty_python_core/src/symbol.rs:229
Method
symbol_id
( &self, symbols: &IndexVec<ScopedSymbolId, Symbol>, name: &str, )
crates/ty_python_core/src/symbol.rs:179
Method
symbol_mut
(&mut self, id: ScopedSymbolId)
crates/ty_python_core/src/symbol.rs:238
Function
symbols
(server: &mut TestServer, uri: Uri)
crates/ty_server/tests/e2e/closed_documents.rs:364
Function
symlink_inside_project
()
crates/ty/tests/file_watching.rs:2596
Function
symlink_target_changes_without_parent_listing_change
()
crates/ruff_db/src/files/directory.rs:145
Function
symlink_target_outside_watched_paths
()
crates/ty/tests/file_watching.rs:2520
Function
symlinked_module_search_path
()
crates/ty/tests/file_watching.rs:2752
Function
symlinked_site_packages_outside_environment
()
crates/ty/tests/file_watching.rs:2694
Function
sympy
(bencher: Bencher)
crates/ruff_benchmark/benches/ty_walltime.rs:236
Method
sync
Creates a new local task.
crates/ruff_server/src/server/schedule/task.rs:71
Method
sync_all_recursive
Refreshes the state of all known files under `paths` recursively. The most common use case is to update the [`Files`] state after removing or moving
crates/ruff_db/src/files.rs:275
Function
sync_generator
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:77
Function
sync_notification_task
( notif: server::Notification, )
crates/ty_server/src/server/api.rs:415
Function
sync_notification_task
(notif: server::Notification)
crates/ruff_server/src/server/api.rs:228
Method
sync_path
Refreshes the file metadata by querying the file system if needed. Directory listings are invalidated if the path's file status changed, its prior st
crates/ruff_db/src/files.rs:458
Method
sync_path_only
Refreshes *only* the file metadata by querying the file system if needed. This specifically does not invalidate any directory listings.
crates/ruff_db/src/files.rs:467
Function
sync_request_task
(req: server::Request)
crates/ty_server/src/server/api.rs:244
Function
sync_request_task
(req: server::Request)
crates/ruff_server/src/server/api.rs:146
Method
sync_system_path
Private method providing the implementation for [`Self::sync_path`] and [`Self::sync`] for system paths.
crates/ruff_db/src/files.rs:499
Method
sync_virtual_path
Increments the revision for the virtual file at `path`.
crates/ruff_db/src/files.rs:473
Function
synchronization_failure_highlights_script_metadata
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:1671
Function
synchronization_reports_progress_before_resolving_dependency_definitions
()
crates/ty_server/tests/e2e/goto_definition.rs:75
Method
synchronize_closed_scripts
Requests synchronization using the scripts' saved metadata.
crates/ty_server/src/session.rs:361
Function
synchronizes_imported_script_with_one_worker
()
crates/ty/tests/cli/scripts.rs:1915
Function
synchronizes_multiple_scripts_with_one_worker
()
crates/ty/tests/cli/scripts.rs:1953
Function
syntax_error
()
crates/ruff/tests/cli/format.rs:567
Function
syntax_error
()
crates/ruff_linter/src/noqa.rs:3508
Method
syntax_error
(message: &'static str)
crates/ruff_formatter/src/diagnostics.rs:70
Function
syntax_error_in_notebooks
()
crates/ruff/tests/cli/format.rs:2036
Function
syntax_error_in_notebooks_check
()
crates/ruff/tests/cli/format.rs:2054
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/grouped.rs:281
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/junit.rs:200
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/concise.rs:192
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/json_lines.rs:48
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/pylint.rs:81
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/gitlab.rs:201
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/full.rs:510
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/json.rs:266
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/azure.rs:76
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/rdjson.rs:223
Function
syntax_errors
()
crates/ruff_db/src/diagnostic/render/github.rs:204
Method
synthesize_getitem_overload_signature
( index_annotation: Type<'db>, return_annotation: Type<'db>, )
crates/ty_python_semantic/src/types/class.rs:1920
Method
synthesized
Keep this method private, so that the only way of constructing `ProtocolInstanceType` instances is through the `Type::instance` constructor function.
crates/ty_python_semantic/src/types/instance.rs:1725
Method
synthesized
(arguments: &'a [ArgOrKeyword<'a>])
crates/ty_python_semantic/src/types/infer/builder.rs:13195
Method
synthetic
Create a new PEP 695 type variable that can be used in signatures of synthetic generic functions.
crates/ty_python_semantic/src/types/typevar.rs:1234
Method
synthetic_self
Create a synthetic `Self` type variable with the given origin and upper bound. The origin is separate from the upper bound so that specializing or ma
crates/ty_python_semantic/src/types/typevar.rs:1266
Method
sys_version_info
()
crates/ty_python_semantic/src/types/instance.rs:130
Method
system
(&self)
crates/ruff_mdtest/src/db.rs:36
Method
system
(&self)
crates/ruff_db/src/lib.rs:196
Method
system
(&self)
crates/ruff_graph/src/db.rs:69
Method
system
(&self)
crates/mdtest/src/lib.rs:776
Method
system
(&self)
crates/ty_python_semantic/tests/corpus.rs:186
Function
system_existing_file
()
crates/ruff_db/src/files.rs:740
Function
system_non_existing_file
()
crates/ruff_db/src/files.rs:755
Function
system_normalize_paths
()
crates/ruff_db/src/files.rs:764
Function
t
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:162
Function
t
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/python38.py:15
Function
t
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:13
Method
t_string_expr
(self)
crates/ruff_python_ast/src/generated.rs:2286
Function
t_string_fields
(node: &ast::ExprTString)
crates/ruff_python_ast/src/comparable.rs:1289
Function
t_strings
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:159
Function
t_strings
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:150
Function
t_strings_literal_order_matters_compare_unequal
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:161
Function
tab
()
crates/ruff_annotate_snippets/tests/formatter.rs:4618
Function
tab_argument
Arguments: arg1: super duper arg with 2 tabs in front
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_tab_indentation.py:6
Function
tab_expansion_allocates_changed_text
()
crates/ruff_python_trivia/src/whitespace.rs:139
Function
tab_expansion_borrows_unchanged_text
()
crates/ruff_python_trivia/src/whitespace.rs:134
Function
tab_offset_advances_to_next_stop
()
crates/ruff_python_trivia/src/whitespace.rs:147
← previous
next →
28,901–29,000 of 31,562, ranked by callers