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
process_record
(record: R)
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_19.py:16
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:183
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:96
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/unpack.rs:79
Method
program
Salsa-cached because interning a program requires hashing all search paths.
crates/ty_python_core/src/db.rs:20
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/statement.rs:72
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/predicate.rs:341
Method
program_environment
(&self)
crates/ty_python_semantic/src/types/tuple/promotion.rs:38
Method
program_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:179
Method
program_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:92
Method
program_file
(&self)
crates/ty_python_semantic/src/types/context.rs:203
Function
program_file_changes_with_python_version
()
crates/ty_python_semantic/src/types/infer/tests.rs:168
Method
program_inner
(db: &dyn TestProgramDb)
crates/ty_python_core/src/db.rs:25
Method
program_settings
(&self)
crates/ty_python_semantic/tests/corpus.rs:207
Method
program_settings
(&self)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:161
Method
progress
(self: BaseOwnedBadge[PartialApp])
crates/ty_python_semantic/resources/corpus/recursive_bound_method_source_order.py:22
Function
progress_notification
(message: Message)
crates/ty_server/src/server/script_progress.rs:169
Method
project
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, ty: Type<'db>,
crates/ty_python_semantic/src/types/type_form.rs:46
Method
project_changed
Returns `true` if the project structure has changed.
crates/ty_project/src/db/changes.rs:25
Function
project_directory_brackets_do_not_act_as_glob_syntax
()
crates/ty/tests/cli/file_selection.rs:454
Function
project_fixtures_shadow_installed_core_plugins
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:3199
Function
project_refresh_applies_settings_despite_uv_errors
()
crates/ty/tests/file_watching.rs:3333
Function
project_refresh_reports_progress_and_clears_errors
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:1028
Function
project_reload_preserves_fallback_options
()
crates/ty/tests/file_watching.rs:3031
Function
project_reload_preserves_override_options
()
crates/ty/tests/file_watching.rs:2998
Function
project_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
Function
project_with_invalid_pyproject
()
crates/ty_project/src/metadata.rs:770
Function
project_with_pyproject
()
crates/ty_project/src/metadata.rs:724
Function
project_with_ty_and_pyproject_toml
()
crates/ty_project/src/metadata.rs:1732
Function
project_without_pyproject
()
crates/ty_project/src/metadata.rs:693
Function
projected_constraint_source_order_is_independent_of_allocation_order
()
crates/ty_python_semantic/src/types/constraints.rs:7293
Method
promotable
Creates a literal value that may be promoted.
crates/ty_python_semantic/src/types/literal.rs:140
Method
promote_inferred_attribute_class_literals
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, result: Memb
crates/ty_python_semantic/src/types.rs:6041
Function
promoting_solutions_preserves_completeness
()
crates/ty_python_semantic/src/types/constraints.rs:5850
Function
prompts
(self, foo)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:147
Method
prop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:17
Method
prop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:27
Method
prop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:39
Method
prop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:56
Method
prop2
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:39
Method
prop2
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:43
Method
prop2
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:59
Method
prop3
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:44
Method
prop3
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:63
Method
prop4
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:49
Method
prop4
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:67
Function
prop_method
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:27
Method
propagate_callable_kind
( db: &'d dyn Db, env: &ProgramEnvironment<'d>, ty: Type<'d>,
crates/ty_python_semantic/src/types/infer/builder.rs:5695
Method
propagate_expands
( elements: &'a [FormatElement], enclosing: &mut Vec<Enclosing<'a>>, check
crates/ruff_formatter/src/format_element/document.rs:57
Function
propagate_inline_comments
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:691
Function
propagates_bound_name_changes_transitively_through_explicit_reexports
()
crates/ty_ide/src/will_rename.rs:1394
Function
propagates_multiple_names_from_the_same_reexport_statement
()
crates/ty_ide/src/will_rename.rs:1446
Method
propagating
()
crates/ty_python_core/src/builder/except_handlers.rs:21
Method
property
( read: Option<ProtocolPropertyType<'db>>, write: Option<ProtocolMemberWrite<'db>>, de
crates/ty_python_semantic/src/types/protocol_class.rs:1759
Method
property
(f)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A003.py:26
Function
property_deleter_del
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:1002
Function
property_deprecations_do_not_infer_accessor_signatures
()
crates/ty_python_semantic/src/types/tests.rs:54
Method
property_getter
(ty: Type<'db>)
crates/ty_python_semantic/src/types/protocol_class.rs:1356
Function
property_getter_read
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:939
Function
property_readonly_modifier
()
crates/ty_ide/src/semantic_tokens.rs:2611
Function
property_receiver_does_not_make_protocol_recursive
()
crates/ty_python_semantic/src/types/cyclic.rs:1606
Method
property_setter
(ty: Type<'db>)
crates/ty_python_semantic/src/types/protocol_class.rs:1360
Function
property_setter_write
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:966
Function
property_union_readonly_only_if_all_variants_are_readonly
()
crates/ty_ide/src/semantic_tokens.rs:2710
Function
property_union_with_non_property_falls_back
()
crates/ty_ide/src/semantic_tokens.rs:2672
Function
property_with_return_annotation
()
crates/ty_ide/src/semantic_tokens.rs:2576
Function
property_without_return_custom_decorator
()
crates/ruff_linter/src/rules/ruff/mod.rs:404
Function
proto_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
Function
protocol_interface_cycle_initial
( db: &'db dyn Db, _id: salsa::Id, class: ClassType<'db>, )
crates/ty_python_semantic/src/types/protocol_class.rs:3644
Function
protocol_materialization_noop_checks_synthesized_types
()
crates/ty_python_semantic/src/types/instance.rs:2259
Function
protocol_type_annotation_vs_value_context
()
crates/ty_ide/src/semantic_tokens.rs:4047
Function
protocol_types_in_annotations
()
crates/ty_ide/src/semantic_tokens.rs:4016
Method
protocol_with_methods
Synthesize a protocol instance type with a given set of methods.
crates/ty_python_semantic/src/types/instance.rs:173
Method
protocol_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
Method
provenance
(&self)
crates/ty_python_semantic/src/types/call.rs:509
Method
provideCodeActions
( model: editor.ITextModel, range: Range, // oxlint-disable-next-line no-unused-vars _context:
playground/ty/src/Editor/Editor.tsx:641
Method
provideCodeActions
( model: editor.ITextModel, range: Range, )
playground/ruff/src/Editor/SourceEditor.tsx:130
Method
provideCompletionItems
( model: editor.ITextModel, position: Position, )
playground/ty/src/Editor/Editor.tsx:328
Method
provideDeclaration
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _:
playground/ty/src/Editor/Editor.tsx:750
Method
provideDefinition
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _:
playground/ty/src/Editor/Editor.tsx:769
Method
provideDocumentFormattingEdits
( model: editor.ITextModel, )
playground/ty/src/Editor/Editor.tsx:860
Method
provideDocumentHighlights
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _to
playground/ty/src/Editor/Editor.tsx:406
Method
provideDocumentRangeSemanticTokens
( model: editor.ITextModel, range: Range, )
playground/ty/src/Editor/Editor.tsx:311
Method
provideDocumentSemanticTokens
( model: editor.ITextModel, )
playground/ty/src/Editor/Editor.tsx:297
Method
provideHover
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _to
playground/ty/src/Editor/Editor.tsx:703
Method
provideInlayHints
( model: editor.ITextModel, range: Range, // oxlint-disable-next-line no-unused-vars _token: C
playground/ty/src/Editor/Editor.tsx:428
Method
provideReferences
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars con
playground/ty/src/Editor/Editor.tsx:788
Method
provideRenameEdits
( model: editor.ITextModel, position: Position, newName: string, // oxlint-disable-next-line n
playground/ty/src/Editor/Editor.tsx:909
Method
provideSignatureHelp
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _to
playground/ty/src/Editor/Editor.tsx:381
Method
provideTypeDefinition
( model: editor.ITextModel, position: Position, // oxlint-disable-next-line no-unused-vars _:
playground/ty/src/Editor/Editor.tsx:731
Function
provided_members_archive_handler
(filename)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S202.py:24
Function
provider_short_circuit_candidate
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004.py:110
Function
proxy
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B904.py:28
Function
pth_edit_while_unwatched_watches_new_search_path
()
crates/ty/tests/file_watching.rs:1815
Function
public_func
()
crates/ruff_linter/resources/test/fixtures/pydocstyle/all.py:1
Function
public_func_with_blank_parentheses
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_blank_parentheses.py:14
Method
public_method
Performs operation blah.
crates/ruff_linter/resources/test/fixtures/pydocstyle/canonical_google_examples.py:108
Method
publish_diagnostics
( client: LSPClient, params: lsp.PublishDiagnosticsParams )
scripts/ty_benchmark/src/benchmark/lsp_client.py:68
Function
publish_diagnostics_open
()
crates/ty_server/tests/e2e/notebook.rs:14
Function
publish_unreachable_code_diagnostics_open
()
crates/ty_server/tests/e2e/notebook.rs:133
← previous
next →
26,801–26,900 of 31,562, ranked by callers