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
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/code_action.rs:33
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/references.rs:26
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/diagnostic.rs:30
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/semantic_tokens_range.rs:25
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/goto_definition.rs:26
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/rename.rs:27
Method
run_with_snapshot
( snapshot: Self::Snapshot, client: &Client, params: <<Self as RequestHandler>::Reques
crates/ruff_server/src/server/api/traits.rs:110
Method
run_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, _params: types::DocumentFormattingParams
crates/ruff_server/src/server/api/requests/format.rs:25
Method
run_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, mut action: types::CodeAction, )
crates/ruff_server/src/server/api/requests/code_action_resolve.rs:39
Method
run_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::HoverParams, )
crates/ruff_server/src/server/api/requests/hover.rs:27
Method
run_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::DocumentRangeFormattingPa
crates/ruff_server/src/server/api/requests/format_range.rs:20
Method
run_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::CodeActionParams, )
crates/ruff_server/src/server/api/requests/code_action.rs:27
Method
run_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::DocumentDiagnosticParams,
crates/ruff_server/src/server/api/requests/diagnostic.rs:15
Function
runtime_evaluated_base_classes
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_type_checking/mod.rs:288
Function
runtime_evaluated_decorators
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_type_checking/mod.rs:334
Function
runtime_file_rename_controls_edits_when_a_stub_exists
()
crates/ty_ide/src/will_rename.rs:1774
Function
runtime_ty_extensions_auto_import_is_not_type_check_only
()
crates/ty_ide/src/completion.rs:10100
Function
runtime_typing_extensions_auto_import_is_not_type_check_only
()
crates/ty_ide/src/completion.rs:10174
Function
runtime_typing_extensions_module_completion
()
crates/ty_ide/src/completion.rs:10161
Function
rustdoc_ui_diagnostic_width
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3484
Function
s
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:161
Function
s
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:12
Method
s
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:67
Method
safe_edit
Create a new [`Fix`] that is [safe](Applicability::Safe) to apply from an [`Edit`] element.
crates/ruff_diagnostics/src/fix.rs:59
Method
safe_edits
Create a new [`Fix`] that is [safe](Applicability::Safe) to apply from multiple [`Edit`] elements.
crates/ruff_diagnostics/src/fix.rs:68
Function
safe_parse_float
(float_str: str)
crates/ruff_benchmark/resources/tomllib/_parser.py:685
Function
safe_pytest_asyncio_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:89
Function
safe_pytest_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:83
Function
safe_trio_as_safe_channel
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:95
Function
safe_trio_as_safe_channel_qualified
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:100
Function
safe_with_decorator
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:66
Function
safe_with_qualified_decorator
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:72
Method
salsa_cancellation_error
The error to return if the request was cancelled due to a modification to the Salsa database. By default, this returns a [`ContentModified`] error to
crates/ty_server/src/server/api/traits.rs:74
Method
salsa_cancellation_error
()
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:213
Method
salsa_cancellation_error
()
crates/ty_server/src/server/api/requests/diagnostic.rs:82
Function
salsa_lookup_name_from_str
()
crates/ruff_python_ast/src/name.rs:953
Method
salsa_memory_dump
Returns a [`SalsaMemoryDump`] that can be used to dump Salsa memory usage information to the CLI after a typechecker run. Triggers cancellation and w
crates/ty_project/src/db.rs:292
Function
same_code_multiline_suppressions_with_different_ranges_can_become_redundant
()
crates/ty_python_semantic/src/fixes.rs:991
Function
same_file_at_different_python_versions
()
crates/ruff_db/src/parsed.rs:1113
Function
same_file_at_different_python_versions
()
crates/ty_python_semantic/src/types/infer/tests.rs:98
Function
same_line
This is a docstring on the same line
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:641
Function
same_name
()
crates/ruff_linter/src/rules/flake8_import_conventions/mod.rs:209
Function
same_results
(package_root: &str, cache_dir_path: &str)
crates/ruff/src/cache.rs:531
Function
sarif_diagnostics
()
crates/ty/tests/cli/main.rs:805
Function
satisfiability_respects_visit_budget
()
crates/ty_python_semantic/src/types/constraints.rs:5697
Function
satisfiable_constraint_analysis_discards_rejected_paths
()
crates/ty_python_semantic/src/types/generics.rs:5905
Method
satisfied_path
(&mut self)
crates/ty_python_semantic/src/types/constraints.rs:3767
Method
save
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:69
Method
save
(self, **kwargs)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:102
Method
save
(*args, **kwargs)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:155
Function
saving_unsaved_open_metadata_repeats_synchronization
()
crates/ty_server/tests/e2e/goto_definition.rs:286
Function
sb
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET505.py:198
Function
scans_backtick_runs_and_spans
()
crates/ty_ide/src/docstring/document/syntax.rs:646
Function
scans_code_at_source_boundaries
()
crates/ty_ide/src/docstring/document/syntax.rs:704
Function
scans_text_and_code_tokens
()
crates/ty_ide/src/docstring/document/syntax.rs:661
Method
schema
( db: &'db dyn Db, items: TypedDictSchema<'db>, openness: TypedDictOpenness<'db>,
crates/ty_python_semantic/src/types/typed_dict.rs:3141
Method
schema_id
()
crates/ruff_ranged_value/src/lib.rs:156
Method
schema_id
()
crates/ruff_workspace/src/options.rs:658
Method
schema_name
()
crates/ty_project/src/metadata/options.rs:2413
Method
schema_name
()
crates/ruff_python_semantic/src/imports.rs:279
Method
schema_name
()
crates/ruff_ranged_value/src/lib.rs:152
Method
schema_name
()
crates/ruff_workspace/src/options.rs:655
Method
schema_name
()
crates/ruff_text_size/src/schemars_impls.rs:13
Method
schema_name
()
crates/ruff_python_ast/src/python_version.rs:212
Method
schema_name
()
crates/ty_python_core/src/platform.rs:70
Method
schema_name
()
crates/ruff_linter/src/rule_selector.rs:339
Method
schema_name
()
crates/ruff_linter/src/settings/types.rs:632
Function
scope
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI058.py:1
Function
scope
()
crates/ruff_linter/resources/test/fixtures/flake8_debugger/T100.py:32
Method
scope
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:167
Function
scope_declarations_are_reported_when_crossed
()
crates/ty_python_semantic/src/semantic_model.rs:1470
Function
scope_id_missing_class_identifier1
()
crates/ty_ide/src/completion.rs:6291
Function
scope_id_missing_from_import1
()
crates/ty_ide/src/completion.rs:6372
Function
scope_id_missing_from_import2
()
crates/ty_ide/src/completion.rs:6395
Function
scope_id_missing_from_import3
()
crates/ty_ide/src/completion.rs:6410
Function
scope_id_missing_function_identifier1
()
crates/ty_ide/src/completion.rs:6248
Function
scope_id_missing_function_identifier2
()
crates/ty_ide/src/completion.rs:6263
Function
scope_id_missing_global1
()
crates/ty_ide/src/completion.rs:6480
Function
scope_id_missing_import1
()
crates/ty_ide/src/completion.rs:6321
Function
scope_id_missing_import2
()
crates/ty_ide/src/completion.rs:6344
Function
scope_id_missing_try_except1
()
crates/ty_ide/src/completion.rs:6425
Function
scope_id_missing_type_alias1
()
crates/ty_ide/src/completion.rs:6306
Function
scope_iterators
()
crates/ty_python_core/src/lib.rs:2124
Function
scope_names
( scopes: impl Iterator<Item = (FileScopeId, &'db Scope)>, db: &'db dyn Db,
crates/ty_python_core/src/lib.rs:2125
Function
scopes_inconclusive_parameter_flows_to_recursive_paths
()
crates/ty_python_semantic/src/types/cyclic.rs:1523
Method
script
(source: &str)
crates/ty_project/src/uv/environments.rs:1226
Function
script_comment
()
crates/ruff_linter/src/rules/eradicate/rules/commented_out_code.rs:173
Function
script_comment_end_precedence
()
crates/ruff_linter/src/rules/eradicate/rules/commented_out_code.rs:206
Function
script_dependency_changes
()
crates/ty/tests/file_watching.rs:1645
Function
script_exclusion_tracks_file_creation_and_metadata_edits
()
crates/ty/tests/file_watching.rs:1132
Function
script_inherits_project_python_version
()
crates/ty/tests/cli/scripts.rs:184
Function
script_metadata_distinguishes_numeric_and_datetime_values
()
crates/ty_ide/src/semantic_tokens.rs:1487
Function
script_metadata_highlights_toml_in_source_order
()
crates/ty_ide/src/semantic_tokens.rs:1413
Function
script_metadata_inside_statement_remains_in_source_order
()
crates/ty_ide/src/semantic_tokens.rs:1562
Function
script_metadata_is_highlighted_as_toml
()
crates/ty_server/tests/e2e/semantic_tokens.rs:7
Function
script_metadata_multiline_strings_exclude_comment_prefixes
()
crates/ty_ide/src/semantic_tokens.rs:1531
Function
script_metadata_respects_requested_token_range
()
crates/ty_ide/src/semantic_tokens.rs:1595
Function
script_progress_reports_completion_counts_and_last_started
()
crates/ty_server/src/server/script_progress.rs:125
Function
script_pth_adds_watched_search_path
()
crates/ty/tests/file_watching.rs:4351
Function
script_python_requirement_overrides_project_version
()
crates/ty/tests/cli/scripts.rs:216
← previous
next →
28,001–28,100 of 31,562, ranked by callers