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
runtime_typing_extensions_auto_import_is_not_type_check_only
()
crates/ty_ide/src/completion.rs:10252
Function
runtime_typing_extensions_module_completion
()
crates/ty_ide/src/completion.rs:10239
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:216
Method
salsa_cancellation_error
()
crates/ty_server/src/server/api/requests/diagnostic.rs:77
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:1004
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
sanitizes_and_escapes_diagnostic_messages
()
crates/ruff_db/src/diagnostic/render/junit.rs:259
Function
sarif_diagnostics
()
crates/ty/tests/cli/main.rs:805
Function
satisfiability_respects_visit_budget
()
crates/ty_python_semantic/src/types/constraints.rs:5810
Function
satisfiable_constraint_analysis_discards_rejected_paths
()
crates/ty_python_semantic/src/types/generics.rs:5984
Method
satisfied_path
(&mut self)
crates/ty_python_semantic/src/types/constraints.rs:3762
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_a_script_uv_opt_out_stops_resolving_its_dependencies
()
crates/ty_server/tests/e2e/script_preparation.rs:243
Function
saving_unsaved_open_metadata_repeats_synchronization
()
crates/ty_server/tests/e2e/goto_definition.rs:306
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:3155
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:2512
Method
schema_name
()
crates/ruff_python_semantic/src/imports.rs:281
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:1468
Function
scope_id_missing_class_identifier1
()
crates/ty_ide/src/completion.rs:6324
Function
scope_id_missing_from_import1
()
crates/ty_ide/src/completion.rs:6405
Function
scope_id_missing_from_import2
()
crates/ty_ide/src/completion.rs:6428
Function
scope_id_missing_from_import3
()
crates/ty_ide/src/completion.rs:6443
Function
scope_id_missing_function_identifier1
()
crates/ty_ide/src/completion.rs:6281
Function
scope_id_missing_function_identifier2
()
crates/ty_ide/src/completion.rs:6296
Function
scope_id_missing_global1
()
crates/ty_ide/src/completion.rs:6513
Function
scope_id_missing_import1
()
crates/ty_ide/src/completion.rs:6354
Function
scope_id_missing_import2
()
crates/ty_ide/src/completion.rs:6377
Function
scope_id_missing_try_except1
()
crates/ty_ide/src/completion.rs:6458
Function
scope_id_missing_type_alias1
()
crates/ty_ide/src/completion.rs:6339
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:1535
Method
script
(source: &str)
crates/ty_project/src/uv/environments.rs:1453
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:1653
Function
script_exclusion_tracks_file_creation_and_metadata_edits
()
crates/ty/tests/file_watching.rs:1140
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:129
Function
script_pth_adds_watched_search_path
()
crates/ty/tests/file_watching.rs:4359
Function
script_python_requirement_overrides_project_version
()
crates/ty/tests/cli/scripts.rs:216
Function
script_search_paths_resolve_imported_symbols
()
crates/ty_server/tests/e2e/goto_definition.rs:8
Function
script_syncs_on_open_without_workspace_diagnostics
()
crates/ty_server/tests/e2e/script_preparation.rs:186
Function
script_tag_does_not_read_notebook_source
()
crates/ty_project/src/script.rs:481
Function
script_version_and_platform_are_isolated_from_project_configuration
()
crates/ty/tests/cli/scripts.rs:742
Function
scripts_do_not_use_an_inactive_project_environment
()
crates/ty/tests/cli/scripts.rs:1101
Function
scripts_have_no_implicit_first_party_roots
()
crates/ty/tests/cli/scripts.rs:837
Function
scripts_only_mode_disables_uv_workspace_discovery
()
crates/ty/tests/cli/uv_workspace.rs:728
Method
scripts_to_synchronize
Returns the scripts whose environments may need synchronization after these file events. Returns no scripts if the project was unindexed when the cha
crates/ty_project/src/db/changes.rs:44
Function
scripts_to_synchronize_after_file_and_directory_changes
()
crates/ty/tests/file_watching.rs:1086
Function
scripts_use_an_activated_virtual_environment
()
crates/ty/tests/cli/scripts.rs:1145
Function
scripts_use_their_own_roots
()
crates/ty/tests/cli/scripts.rs:928
Function
sdgfsdg23245
Constructor for a foo.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:366
Function
sdgfsdg23245777
Constructor.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:372
Function
sdk_access_deprecated_context_key
(**context)
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_context.py:215
Function
sdk_access_valid_context_key
(**context)
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_context.py:221
← previous
next →
28,201–28,300 of 31,766, ranked by callers