MCPcopy Create free account

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

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

Functionprocess_record
(record: R)
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_19.py:16
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:183
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:96
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/unpack.rs:79
Methodprogram
Salsa-cached because interning a program requires hashing all search paths.
crates/ty_python_core/src/db.rs:20
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/statement.rs:72
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/predicate.rs:341
Methodprogram_environment
(&self)
crates/ty_python_semantic/src/types/tuple/promotion.rs:38
Methodprogram_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:179
Methodprogram_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:92
Methodprogram_file
(&self)
crates/ty_python_semantic/src/types/context.rs:203
Functionprogram_file_changes_with_python_version
()
crates/ty_python_semantic/src/types/infer/tests.rs:168
Methodprogram_inner
(db: &dyn TestProgramDb)
crates/ty_python_core/src/db.rs:25
Methodprogram_settings
(&self)
crates/ty_python_semantic/tests/corpus.rs:207
Methodprogram_settings
(&self)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:161
Methodprogress
(self: BaseOwnedBadge[PartialApp])
crates/ty_python_semantic/resources/corpus/recursive_bound_method_source_order.py:22
Functionprogress_notification
(message: Message)
crates/ty_server/src/server/script_progress.rs:169
Methodproject
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, ty: Type<'db>,
crates/ty_python_semantic/src/types/type_form.rs:46
Methodproject_changed
Returns `true` if the project structure has changed.
crates/ty_project/src/db/changes.rs:25
Functionproject_directory_brackets_do_not_act_as_glob_syntax
()
crates/ty/tests/cli/file_selection.rs:454
Functionproject_fixtures_shadow_installed_core_plugins
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:3199
Functionproject_refresh_applies_settings_despite_uv_errors
()
crates/ty/tests/file_watching.rs:3333
Functionproject_refresh_reports_progress_and_clears_errors
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:1028
Functionproject_reload_preserves_fallback_options
()
crates/ty/tests/file_watching.rs:3031
Functionproject_reload_preserves_override_options
()
crates/ty/tests/file_watching.rs:2998
Functionproject_setup
Set up a project and its venv once per module (shared across all tests for this project).
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:44
Functionproject_with_invalid_pyproject
()
crates/ty_project/src/metadata.rs:770
Functionproject_with_pyproject
()
crates/ty_project/src/metadata.rs:724
Functionproject_with_ty_and_pyproject_toml
()
crates/ty_project/src/metadata.rs:1732
Functionproject_without_pyproject
()
crates/ty_project/src/metadata.rs:693
Functionprojected_constraint_source_order_is_independent_of_allocation_order
()
crates/ty_python_semantic/src/types/constraints.rs:7293
Methodpromotable
Creates a literal value that may be promoted.
crates/ty_python_semantic/src/types/literal.rs:140
Methodpromote_inferred_attribute_class_literals
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, result: Memb
crates/ty_python_semantic/src/types.rs:6041
Functionpromoting_solutions_preserves_completeness
()
crates/ty_python_semantic/src/types/constraints.rs:5850
Functionprompts
(self, foo)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:147
Methodprop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:17
Methodprop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:27
Methodprop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:39
Methodprop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:56
Methodprop2
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:39
Methodprop2
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:43
Methodprop2
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:59
Methodprop3
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:44
Methodprop3
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:63
Methodprop4
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:49
Methodprop4
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:67
Functionprop_method
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:27
Methodpropagate_callable_kind
( db: &'d dyn Db, env: &ProgramEnvironment<'d>, ty: Type<'d>,
crates/ty_python_semantic/src/types/infer/builder.rs:5695
Methodpropagate_expands
( elements: &'a [FormatElement], enclosing: &mut Vec<Enclosing<'a>>, check
crates/ruff_formatter/src/format_element/document.rs:57
Functionpropagate_inline_comments
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:691
Functionpropagates_bound_name_changes_transitively_through_explicit_reexports
()
crates/ty_ide/src/will_rename.rs:1394
Functionpropagates_multiple_names_from_the_same_reexport_statement
()
crates/ty_ide/src/will_rename.rs:1446
Methodpropagating
()
crates/ty_python_core/src/builder/except_handlers.rs:21
Methodproperty
( read: Option<ProtocolPropertyType<'db>>, write: Option<ProtocolMemberWrite<'db>>, de
crates/ty_python_semantic/src/types/protocol_class.rs:1759
Methodproperty
(f)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A003.py:26
Functionproperty_deleter_del
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:1002
Functionproperty_deprecations_do_not_infer_accessor_signatures
()
crates/ty_python_semantic/src/types/tests.rs:54
Methodproperty_getter
(ty: Type<'db>)
crates/ty_python_semantic/src/types/protocol_class.rs:1356
Functionproperty_getter_read
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:939
Functionproperty_readonly_modifier
()
crates/ty_ide/src/semantic_tokens.rs:2611
Functionproperty_receiver_does_not_make_protocol_recursive
()
crates/ty_python_semantic/src/types/cyclic.rs:1606
Methodproperty_setter
(ty: Type<'db>)
crates/ty_python_semantic/src/types/protocol_class.rs:1360
Functionproperty_setter_write
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:966
Functionproperty_union_readonly_only_if_all_variants_are_readonly
()
crates/ty_ide/src/semantic_tokens.rs:2710
Functionproperty_union_with_non_property_falls_back
()
crates/ty_ide/src/semantic_tokens.rs:2672
Functionproperty_with_return_annotation
()
crates/ty_ide/src/semantic_tokens.rs:2576
Functionproperty_without_return_custom_decorator
()
crates/ruff_linter/src/rules/ruff/mod.rs:404
Functionproto_interface_cycle_recover
( db: &'db dyn Db, cycle: &salsa::Cycle, previous: &ProtocolInterface<'db>, value: ProtocolInt
crates/ty_python_semantic/src/types/protocol_class.rs:3656
Functionprotocol_interface_cycle_initial
( db: &'db dyn Db, _id: salsa::Id, class: ClassType<'db>, )
crates/ty_python_semantic/src/types/protocol_class.rs:3644
Functionprotocol_materialization_noop_checks_synthesized_types
()
crates/ty_python_semantic/src/types/instance.rs:2259
Functionprotocol_type_annotation_vs_value_context
()
crates/ty_ide/src/semantic_tokens.rs:4047
Functionprotocol_types_in_annotations
()
crates/ty_ide/src/semantic_tokens.rs:4016
Methodprotocol_with_methods
Synthesize a protocol instance type with a given set of methods.
crates/ty_python_semantic/src/types/instance.rs:173
Methodprotocol_with_readonly_members
Synthesize a protocol instance type with a given set of read-only property members.
crates/ty_python_semantic/src/types/instance.rs:157
Methodprovenance
(&self)
crates/ty_python_semantic/src/types/call.rs:509
MethodprovideCodeActions
( model: editor.ITextModel, range: Range, // oxlint-disable-next-line no-unused-vars _context:
playground/ty/src/Editor/Editor.tsx:641
MethodprovideCodeActions
( model: editor.ITextModel, range: Range, )
playground/ruff/src/Editor/SourceEditor.tsx:130
MethodprovideCompletionItems
( model: editor.ITextModel, position: Position, )
playground/ty/src/Editor/Editor.tsx:328
MethodprovideDeclaration
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _:
playground/ty/src/Editor/Editor.tsx:750
MethodprovideDefinition
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _:
playground/ty/src/Editor/Editor.tsx:769
MethodprovideDocumentFormattingEdits
( model: editor.ITextModel, )
playground/ty/src/Editor/Editor.tsx:860
MethodprovideDocumentHighlights
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _to
playground/ty/src/Editor/Editor.tsx:406
MethodprovideDocumentRangeSemanticTokens
( model: editor.ITextModel, range: Range, )
playground/ty/src/Editor/Editor.tsx:311
MethodprovideDocumentSemanticTokens
( model: editor.ITextModel, )
playground/ty/src/Editor/Editor.tsx:297
MethodprovideHover
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _to
playground/ty/src/Editor/Editor.tsx:703
MethodprovideInlayHints
( model: editor.ITextModel, range: Range, // oxlint-disable-next-line no-unused-vars _token: C
playground/ty/src/Editor/Editor.tsx:428
MethodprovideReferences
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars con
playground/ty/src/Editor/Editor.tsx:788
MethodprovideRenameEdits
( model: editor.ITextModel, position: Position, newName: string, // oxlint-disable-next-line n
playground/ty/src/Editor/Editor.tsx:909
MethodprovideSignatureHelp
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _to
playground/ty/src/Editor/Editor.tsx:381
MethodprovideTypeDefinition
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _:
playground/ty/src/Editor/Editor.tsx:731
Functionprovided_members_archive_handler
(filename)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S202.py:24
Functionprovider_short_circuit_candidate
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004.py:110
Functionproxy
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B904.py:28
Functionpth_edit_while_unwatched_watches_new_search_path
()
crates/ty/tests/file_watching.rs:1815
Functionpublic_func
()
crates/ruff_linter/resources/test/fixtures/pydocstyle/all.py:1
Functionpublic_func_with_blank_parentheses
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_blank_parentheses.py:14
Methodpublic_method
Performs operation blah.
crates/ruff_linter/resources/test/fixtures/pydocstyle/canonical_google_examples.py:108
Methodpublish_diagnostics
( client: LSPClient, params: lsp.PublishDiagnosticsParams )
scripts/ty_benchmark/src/benchmark/lsp_client.py:68
Functionpublish_diagnostics_open
()
crates/ty_server/tests/e2e/notebook.rs:14
Functionpublish_unreachable_code_diagnostics_open
()
crates/ty_server/tests/e2e/notebook.rs:133
← previousnext →26,801–26,900 of 31,562, ranked by callers