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
inlay_hints
Returns the inlay hints for the given test case. All inlay hints are generated using the applicable settings. Use [`inlay_hints_with_settings`] to ge
crates/ty_ide/src/inlay_hints.rs:1323
Function
inlay_hints_range_past_end_of_cell
()
crates/ty_server/tests/e2e/notebook.rs:637
Method
inline
Create an [`Insertion`] that inserts content inline (i.e., within semicolon-delimited statements).
crates/ruff_python_importer/src/insertion.rs:324
Function
inline_after_else
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments9.py:93
Function
inline_and_specific_settings_resolution_order
()
crates/ruff_server/src/session/index/ruff_settings.rs:558
Function
inline_comments_in_brackets_ruin_everything
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments2.py:61
Function
inline_configuration
()
crates/ruff_server/src/session/options.rs:972
Function
inline_documentation_strips_doc_comment_prefixes
()
crates/ty_python_semantic/src/lint.rs:309
Function
inline_err
(path: &Utf8Path, content: String)
crates/ruff_python_parser/tests/fixtures.rs:38
Function
inline_ok
(path: &Utf8Path, content: String)
crates/ruff_python_parser/tests/fixtures.rs:32
Function
inline_overrides_are_ignored
()
crates/ty/tests/cli/scripts.rs:372
Function
inline_path_method_call
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:34
Function
inline_settings
()
crates/ruff_server/src/session/index/ruff_settings.rs:540
Function
inline_settings_override_user_configuration
()
crates/ty/tests/cli/scripts.rs:447
Function
inline_settings_replace_project_settings_and_overrides
()
crates/ty/tests/cli/scripts.rs:7
Function
inline_terminal_settings_do_not_apply
()
crates/ty/tests/cli/scripts.rs:411
Function
inner
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/function2.py:18
Function
inner
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:9
Function
inner
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:25
Function
inner
()
crates/ruff_linter/resources/test/fixtures/pydocstyle/D202.py:6
Function
inner
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET502.py:54
Function
inner
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:206
Function
inner
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/global_parameter.py:9
Function
inner
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/annotated_global.py:8
Function
inner
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/nonlocal_parameter.py:9
Function
inner
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM113.py:176
Function
inner
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF070.py:148
Function
inner
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:646
Function
inner
()
crates/ruff_linter/resources/test/fixtures/flake8_import_conventions/tricky.py:36
Function
inner
(x:int)
crates/ruff_linter/resources/test/fixtures/pylint/len_as_condition.py:212
Function
inner
(t: T)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP047_0.py:64
Method
inner
(errors: &mut Vec<ParseError>, error: ParseErrorType, range: TextRange)
crates/ruff_python_parser/src/parser/mod.rs:638
Method
inner
()
crates/ty_python_semantic/resources/corpus/88_regression_generic_method_with_nested_function.py:6
Method
inner
()
crates/ty_python_semantic/resources/corpus/75_classderef_no.py:4
Method
inner
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:19
Function
inner2
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:4
Function
inner2
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:29
Function
inner3
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:16
Function
inner3
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:34
Method
inner_argument
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:70
Method
inner_class
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:81
Function
inner_decorator
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:92
Function
inner_func
()
crates/ruff_linter/resources/test/fixtures/pylint/await_outside_async.py:28
Function
inner_function
Do inner something.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:459
Method
inner_functions
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:66
Function
inner_inner
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:447
Function
inner_more
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:12
Method
inner_range
(&self)
crates/ruff_python_ast/src/nodes.rs:3825
Function
insert
(contents: &str)
crates/ruff_python_importer/src/insertion.rs:405
Method
insert
Inserts a new branch into the vector and returns its unique [`BranchID`].
crates/ruff_python_semantic/src/branches.rs:29
Function
insert_first_line
()
crates/ruff_server/src/edit/replacement.rs:149
Method
insert_member
Insert a member, preserving unpromotable literal provenance if either occurrence has it.
crates/ty_python_semantic/src/types/equality/enums.rs:503
Function
insert_middle_line
()
crates/ruff_server/src/edit/replacement.rs:167
Function
insert_multiple_lines
()
crates/ruff_server/src/edit/replacement.rs:185
Method
insertion
Creates an edit that inserts `content` at the [`TextSize`] `at`.
crates/ruff_diagnostics/src/edit.rs:51
Function
insertion_with_trailing_whitespace
()
crates/ruff_annotate_snippets/tests/ruff.rs:466
Function
inside_token
()
crates/ty_ide/src/completion.rs:3581
Method
inspect
(&mut self, inspector: F)
crates/ruff_formatter/src/buffer.rs:593
Method
instance_flags_inner
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:1063
Method
instance_like_member_lookup
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, key: MemberL
crates/ty_python_semantic/src/types.rs:6064
Method
instance_lookup_class_member_with_policy
Look up the class member that participates in descriptor access through an instance. The meta-type of a type variable preserves method binding to tha
crates/ty_python_semantic/src/types.rs:4616
Method
instance_member
Look up an instance attribute (available in `__dict__`) of the given name. See [`Type::instance_member`] for more details.
crates/ty_python_semantic/src/types/class/static_literal.rs:3046
Method
instance_member
Look up an instance member by iterating through the MRO.
crates/ty_python_semantic/src/types/class/dynamic_literal.rs:389
Method
instance_member
Look up an instance member by name, checking mixin and base class. If members are unknown and nothing was found, returns `Unknown` as a last resort.
crates/ty_python_semantic/src/types/class/enum_literal.rs:301
Method
instance_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:321
Method
instance_method_bound
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:79
Method
instance_method_bound_with_another_parameter
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:83
Function
instance_method_overload_self_type
()
crates/ty_ide/src/inlay_hints.rs:5030
Method
instance_method_unbound
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:81
Method
instance_method_unbound_with_another_parameter
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:85
Function
instance_methods_are_not_regular_functions1
()
crates/ty_ide/src/completion.rs:5712
Function
instance_methods_are_not_regular_functions2
()
crates/ty_ide/src/completion.rs:5726
Method
int
(self)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A003.py:11
Method
int_literal
Create a promotable integer literal.
crates/ty_python_semantic/src/types.rs:3418
Function
int_okay
(value=int("12"))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:199
Function
interleaved_range_suppressions
()
crates/ruff_linter/src/suppression.rs:1684
Function
intermediate_class_scope_ignored
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1563
Method
intern_definitions_by_definition
( definitions_by_definition: FxHashMap< Definition<'db>, DefinitionsAtDefiniti
crates/ty_python_core/src/use_def.rs:3545
Method
intern_enclosing_snapshots
( enclosing_snapshots: EnclosingSnapshots, place_state_interner: &mut PlaceStateInterner,
crates/ty_python_core/src/use_def.rs:3629
Method
intern_end_of_scope_members
( end_of_scope_members: IndexVec<ScopedMemberId, PlaceState>, place_state_interner: &mut Place
crates/ty_python_core/src/use_def.rs:3602
Method
intern_place_states
( place_states: IndexVec<I, T>, get_parts: impl Fn(T) -> (Bindings, Declarations), pla
crates/ty_python_core/src/use_def.rs:3586
Method
intern_reachable_place_states
Retains reachable definitions without duplicating their initial unbound/undeclared entries.
crates/ty_python_core/src/use_def.rs:3500
Method
intern_sequents
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, storage: &mut Constraint
crates/ty_python_semantic/src/types/constraints/paths.rs:596
Method
intern_table
( values: &mut FxHashSet<Arc<T>>, value: Arc<T>, )
crates/ty_python_core/src/use_def.rs:982
Method
intern_typevar_constraints
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, storage: &mut ConstraintSetStorage<'
crates/ty_python_semantic/src/types/constraints/solutions.rs:1955
Function
interpolated_string_escaped_brace_values
()
crates/ruff_python_parser/src/parser/tests.rs:133
Method
interpolation
(self)
crates/ruff_python_ast/src/generated.rs:2946
Function
intersection_construction_failure_discards_the_projection
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:1082
Method
intersection_from_two_elements
(db: &'db dyn Db, types: TypePair<'db>)
crates/ty_python_semantic/src/types/set_theoretic.rs:1156
Method
intersects
Returns `true` if the given range intersects with any multiline string.
crates/ruff_python_index/src/multiline_ranges.rs:27
Method
intersects
Returns `true` if the given range intersects with any f-string range.
crates/ruff_python_index/src/interpolated_string_ranges.rs:18
Function
interspersed_matches_and_mismatches
()
crates/mdtest/src/matcher.rs:1105
Method
into_callable_type
Convert the `FunctionType` into a [`CallableType`].
crates/ty_python_semantic/src/types/function.rs:2081
Method
into_collected
(self)
crates/ty_python_semantic/src/types/unpacker.rs:489
Method
into_diagnostic
(self)
crates/ty_ide/src/document_symbols.rs:642
Method
into_diagnostic
(self)
crates/ty_ide/src/all_symbols.rs:1127
Method
into_diagnostic
(self)
crates/ty_ide/src/workspace_symbols.rs:215
Method
into_diagnostic
(self)
crates/ty_ide/src/doc_highlights.rs:93
Method
into_diagnostic
(self)
crates/ty_ide/src/selection_range.rs:473
Method
into_diagnostic
(self)
crates/ty_ide/src/folding_range.rs:2818
← previous
next →
22,901–23,000 of 31,562, ranked by callers