MCPcopy Create free account

hub / github.com/astral-sh/ruff / functions

Functions31,562 in github.com/astral-sh/ruff

Methodrun_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/code_action.rs:33
Methodrun_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/references.rs:26
Methodrun_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/diagnostic.rs:30
Methodrun_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/semantic_tokens_range.rs:25
Methodrun_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/goto_definition.rs:26
Methodrun_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/rename.rs:27
Methodrun_with_snapshot
( snapshot: Self::Snapshot, client: &Client, params: <<Self as RequestHandler>::Reques
crates/ruff_server/src/server/api/traits.rs:110
Methodrun_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, _params: types::DocumentFormattingParams
crates/ruff_server/src/server/api/requests/format.rs:25
Methodrun_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, mut action: types::CodeAction, )
crates/ruff_server/src/server/api/requests/code_action_resolve.rs:39
Methodrun_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::HoverParams, )
crates/ruff_server/src/server/api/requests/hover.rs:27
Methodrun_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::DocumentRangeFormattingPa
crates/ruff_server/src/server/api/requests/format_range.rs:20
Methodrun_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::CodeActionParams, )
crates/ruff_server/src/server/api/requests/code_action.rs:27
Methodrun_with_snapshot
( snapshot: Self::Snapshot, _client: &Client, params: types::DocumentDiagnosticParams,
crates/ruff_server/src/server/api/requests/diagnostic.rs:15
Functionruntime_evaluated_base_classes
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_type_checking/mod.rs:288
Functionruntime_evaluated_decorators
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_type_checking/mod.rs:334
Functionruntime_file_rename_controls_edits_when_a_stub_exists
()
crates/ty_ide/src/will_rename.rs:1774
Functionruntime_ty_extensions_auto_import_is_not_type_check_only
()
crates/ty_ide/src/completion.rs:10100
Functionruntime_typing_extensions_auto_import_is_not_type_check_only
()
crates/ty_ide/src/completion.rs:10174
Functionruntime_typing_extensions_module_completion
()
crates/ty_ide/src/completion.rs:10161
Functionrustdoc_ui_diagnostic_width
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3484
Functions
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:161
Functions
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:12
Methods
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:67
Methodsafe_edit
Create a new [`Fix`] that is [safe](Applicability::Safe) to apply from an [`Edit`] element.
crates/ruff_diagnostics/src/fix.rs:59
Methodsafe_edits
Create a new [`Fix`] that is [safe](Applicability::Safe) to apply from multiple [`Edit`] elements.
crates/ruff_diagnostics/src/fix.rs:68
Functionsafe_parse_float
(float_str: str)
crates/ruff_benchmark/resources/tomllib/_parser.py:685
Functionsafe_pytest_asyncio_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:89
Functionsafe_pytest_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:83
Functionsafe_trio_as_safe_channel
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:95
Functionsafe_trio_as_safe_channel_qualified
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:100
Functionsafe_with_decorator
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:66
Functionsafe_with_qualified_decorator
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC119.py:72
Methodsalsa_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
Methodsalsa_cancellation_error
()
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:213
Methodsalsa_cancellation_error
()
crates/ty_server/src/server/api/requests/diagnostic.rs:82
Functionsalsa_lookup_name_from_str
()
crates/ruff_python_ast/src/name.rs:953
Methodsalsa_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
Functionsame_code_multiline_suppressions_with_different_ranges_can_become_redundant
()
crates/ty_python_semantic/src/fixes.rs:991
Functionsame_file_at_different_python_versions
()
crates/ruff_db/src/parsed.rs:1113
Functionsame_file_at_different_python_versions
()
crates/ty_python_semantic/src/types/infer/tests.rs:98
Functionsame_line
This is a docstring on the same line
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:641
Functionsame_name
()
crates/ruff_linter/src/rules/flake8_import_conventions/mod.rs:209
Functionsame_results
(package_root: &str, cache_dir_path: &str)
crates/ruff/src/cache.rs:531
Functionsarif_diagnostics
()
crates/ty/tests/cli/main.rs:805
Functionsatisfiability_respects_visit_budget
()
crates/ty_python_semantic/src/types/constraints.rs:5697
Functionsatisfiable_constraint_analysis_discards_rejected_paths
()
crates/ty_python_semantic/src/types/generics.rs:5905
Methodsatisfied_path
(&mut self)
crates/ty_python_semantic/src/types/constraints.rs:3767
Methodsave
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:69
Methodsave
(self, **kwargs)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:102
Methodsave
(*args, **kwargs)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:155
Functionsaving_unsaved_open_metadata_repeats_synchronization
()
crates/ty_server/tests/e2e/goto_definition.rs:286
Functionsb
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET505.py:198
Functionscans_backtick_runs_and_spans
()
crates/ty_ide/src/docstring/document/syntax.rs:646
Functionscans_code_at_source_boundaries
()
crates/ty_ide/src/docstring/document/syntax.rs:704
Functionscans_text_and_code_tokens
()
crates/ty_ide/src/docstring/document/syntax.rs:661
Methodschema
( db: &'db dyn Db, items: TypedDictSchema<'db>, openness: TypedDictOpenness<'db>,
crates/ty_python_semantic/src/types/typed_dict.rs:3141
Methodschema_id
()
crates/ruff_ranged_value/src/lib.rs:156
Methodschema_id
()
crates/ruff_workspace/src/options.rs:658
Methodschema_name
()
crates/ty_project/src/metadata/options.rs:2413
Methodschema_name
()
crates/ruff_python_semantic/src/imports.rs:279
Methodschema_name
()
crates/ruff_ranged_value/src/lib.rs:152
Methodschema_name
()
crates/ruff_workspace/src/options.rs:655
Methodschema_name
()
crates/ruff_text_size/src/schemars_impls.rs:13
Methodschema_name
()
crates/ruff_python_ast/src/python_version.rs:212
Methodschema_name
()
crates/ty_python_core/src/platform.rs:70
Methodschema_name
()
crates/ruff_linter/src/rule_selector.rs:339
Methodschema_name
()
crates/ruff_linter/src/settings/types.rs:632
Functionscope
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI058.py:1
Functionscope
()
crates/ruff_linter/resources/test/fixtures/flake8_debugger/T100.py:32
Methodscope
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:167
Functionscope_declarations_are_reported_when_crossed
()
crates/ty_python_semantic/src/semantic_model.rs:1470
Functionscope_id_missing_class_identifier1
()
crates/ty_ide/src/completion.rs:6291
Functionscope_id_missing_from_import1
()
crates/ty_ide/src/completion.rs:6372
Functionscope_id_missing_from_import2
()
crates/ty_ide/src/completion.rs:6395
Functionscope_id_missing_from_import3
()
crates/ty_ide/src/completion.rs:6410
Functionscope_id_missing_function_identifier1
()
crates/ty_ide/src/completion.rs:6248
Functionscope_id_missing_function_identifier2
()
crates/ty_ide/src/completion.rs:6263
Functionscope_id_missing_global1
()
crates/ty_ide/src/completion.rs:6480
Functionscope_id_missing_import1
()
crates/ty_ide/src/completion.rs:6321
Functionscope_id_missing_import2
()
crates/ty_ide/src/completion.rs:6344
Functionscope_id_missing_try_except1
()
crates/ty_ide/src/completion.rs:6425
Functionscope_id_missing_type_alias1
()
crates/ty_ide/src/completion.rs:6306
Functionscope_iterators
()
crates/ty_python_core/src/lib.rs:2124
Functionscope_names
( scopes: impl Iterator<Item = (FileScopeId, &'db Scope)>, db: &'db dyn Db,
crates/ty_python_core/src/lib.rs:2125
Functionscopes_inconclusive_parameter_flows_to_recursive_paths
()
crates/ty_python_semantic/src/types/cyclic.rs:1523
Methodscript
(source: &str)
crates/ty_project/src/uv/environments.rs:1226
Functionscript_comment
()
crates/ruff_linter/src/rules/eradicate/rules/commented_out_code.rs:173
Functionscript_comment_end_precedence
()
crates/ruff_linter/src/rules/eradicate/rules/commented_out_code.rs:206
Functionscript_dependency_changes
()
crates/ty/tests/file_watching.rs:1645
Functionscript_exclusion_tracks_file_creation_and_metadata_edits
()
crates/ty/tests/file_watching.rs:1132
Functionscript_inherits_project_python_version
()
crates/ty/tests/cli/scripts.rs:184
Functionscript_metadata_distinguishes_numeric_and_datetime_values
()
crates/ty_ide/src/semantic_tokens.rs:1487
Functionscript_metadata_highlights_toml_in_source_order
()
crates/ty_ide/src/semantic_tokens.rs:1413
Functionscript_metadata_inside_statement_remains_in_source_order
()
crates/ty_ide/src/semantic_tokens.rs:1562
Functionscript_metadata_is_highlighted_as_toml
()
crates/ty_server/tests/e2e/semantic_tokens.rs:7
Functionscript_metadata_multiline_strings_exclude_comment_prefixes
()
crates/ty_ide/src/semantic_tokens.rs:1531
Functionscript_metadata_respects_requested_token_range
()
crates/ty_ide/src/semantic_tokens.rs:1595
Functionscript_progress_reports_completion_counts_and_last_started
()
crates/ty_server/src/server/script_progress.rs:125
Functionscript_pth_adds_watched_search_path
()
crates/ty/tests/file_watching.rs:4351
Functionscript_python_requirement_overrides_project_version
()
crates/ty/tests/cli/scripts.rs:216
← previousnext →28,001–28,100 of 31,562, ranked by callers