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
bob
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comment_after_escaped_newline.py:1
Function
bobtwo
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comment_after_escaped_newline.py:6
Method
body
Return the body of the member.
crates/ruff_python_semantic/src/definition.rs:111
Method
body_2
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B027.py:83
Function
body_dict_call
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:73
Function
body_dict_comp
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:68
Function
body_dict_literal
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:63
Function
body_dict_literal_annotated_non_mapping
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:78
Function
bokeh2
(self, host: str = DEFAULT_HOST, port: int = DEFAULT_PORT)
crates/ruff_linter/resources/test/fixtures/control-flow-graph/while.py:135
Function
bom
()
crates/ruff_db/src/system/os/ignore.rs:112
Function
bom
()
crates/ruff_python_parser/src/lexer.rs:1815
Function
bom
()
crates/ruff_linter/src/rules/pydocstyle/mod.rs:125
Function
bom_with_default_range
()
crates/ruff_db/src/diagnostic/render/full.rs:990
Function
bom_with_full_file_range
()
crates/ruff_db/src/diagnostic/render/full.rs:1010
Function
bom_with_offset
()
crates/ruff_python_parser/src/lexer.rs:1821
Function
bom_with_offset_edge
()
crates/ruff_python_parser/src/lexer.rs:1827
Method
boo
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP010_1.py:14
Function
bool
(x)
crates/ty_python_semantic/resources/corpus/25_func_annotations_same_name.py:1
Function
bool
(x=bool)
crates/ty_python_semantic/resources/corpus/26_func_defaults_same_name.py:1
Function
bool
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM103.py:81
Method
bool_literal
Create a promotable boolean literal.
crates/ty_python_semantic/src/types.rs:3438
Function
bool_okay
(value=bool("bar"))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:191
Method
bool_op_expr
(self)
crates/ruff_python_ast/src/generated.rs:1620
Function
bool_op_fields
(node: &ast::ExprBoolOp)
crates/ruff_python_ast/src/comparable.rs:1016
Method
boolean_literal_expr
(self)
crates/ruff_python_ast/src/generated.rs:2434
Function
boolean_literal_fields
(node: &ast::ExprBooleanLiteral)
crates/ruff_python_ast/src/comparable.rs:1327
Function
boolean_operations_match_their_truth_tables
()
crates/ty_python_core/src/narrowing_constraints.rs:482
Method
borrow
(&self)
crates/ruff_db/src/system/path.rs:630
Method
borrow
(&self)
crates/ruff_python_ast/src/name.rs:125
Function
both_magic
(a: T, b: T,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:10
Function
both_magic
(a: T, b: T,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:10
Function
both_magic_mixed1
(a: T, b: T,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:87
Function
both_magic_mixed1
(a: T, b: T,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:87
Function
both_magic_mixed2
( a: T, b: T, )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:93
Function
both_magic_mixed2
( a: T, b: T, )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:93
Function
both_magic_multiline
( a: T, b: T, )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:41
Function
both_magic_multiline
( a: T, b: T, )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:41
Function
both_warnings_and_errors
()
crates/ty/tests/cli/exit_code.rs:202
Function
both_warnings_and_errors_and_exit_zero_on_warning
()
crates/ty/tests/cli/exit_code.rs:236
Method
bottom
()
crates/ty_python_semantic/src/types/signatures.rs:178
Method
bottom
Create a callable type which represents a fully-static "bottom" callable. Specifically, this represents a callable type with a single signature: `(*a
crates/ty_python_semantic/src/types/callable.rs:1005
Method
bound
( db: &'db dyn Db, return_type: Type<'db>, scope: ScopeId<'db>, place: ScopedP
crates/ty_python_semantic/src/types.rs:12973
Method
bound
Constructor that creates a [`Place`] with type origin [`TypeOrigin::Inferred`] and definedness [`Definedness::AlwaysDefined`].
crates/ty_python_semantic/src/place.rs:240
Function
bound_method_reference_assigned_is_not_a_call
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:1055
Function
bound_method_reference_passed_as_arg_is_not_a_call
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:1036
Method
bound_or_constraints_type
The bound or constraints of this typevar, as a type (i.e. constraints are unioned), wrapped in `SubclassOf` if this is a `SubclassOf` context. `object
crates/ty_python_semantic/src/types/bound_super.rs:52
Function
bound_typevar_default_type_cycle_recover
( db: &'db dyn Db, cycle: &salsa::Cycle, previous_default: &Option<Type<'db>>, default: Option
crates/ty_python_semantic/src/types/typevar.rs:2076
Function
bounded_callback
Return whether a candidate triggers a bug. Raise `MinimizationTimedOut` if the deadline or cancellation is observed before or after c
python/py-fuzzer/fuzz.py:423
Method
bounded_from_elements
Create an intersection type `E1 & E2 & ... & En` from a list of (positive) elements, while ensuring that we only expand an intersection of unions with
crates/ty_python_semantic/src/types/set_theoretic.rs:1128
Method
bounded_from_elements
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, elements: I, )
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:1593
Function
bounded_intersection_limits_negated_alias_expansion
()
crates/ty_python_semantic/src/types/tests.rs:161
Function
bounded_intersection_preserves_late_union_elements
()
crates/ty_python_semantic/src/types/tests.rs:111
Function
bounded_intersection_returns_none_when_budget_exhausted
()
crates/ty_python_semantic/src/types/tests.rs:142
Function
bounded_path_bounds
( db: &'db TestDb, set: ConstraintSet<'db, '_>, inferable: TypeVarSet<'db>, ma
crates/ty_python_semantic/src/types/constraints.rs:5267
Function
bounded_path_fast_paths_respect_limits
()
crates/ty_python_semantic/src/types/constraints.rs:5729
Function
branch_task_with_call_and_deprecated_context
(**context)
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_context.py:239
Function
branch_task_with_deprecated_context
(**context)
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_context.py:227
Method
branches
Combine a series of [`Terminal`] operators.
crates/ruff_python_semantic/src/analyze/terminal.rs:284
Method
break_stmt
(self)
crates/ruff_python_ast/src/generated.rs:1189
Function
broken2
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:35
Function
broken3
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:55
Function
broken4
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:59
Function
broken5
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:64
Function
broken6
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:81
Function
broken7
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:86
Function
broken_fix
(okay: T, bad: Something)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP047_0.py:39
Function
btreemap_overlapping_items
()
crates/ty_python_semantic/src/types/typed_dict.rs:3394
Function
buffer_must_be_empty_when_dropped
()
crates/ruff_python_parser/src/parser/scratch_buffer.rs:95
Method
build
(self)
crates/ty_python_core/src/member.rs:644
Method
build
(self)
crates/ty_python_core/src/narrowing_constraints.rs:147
Method
build
(self)
crates/ty_python_core/src/reachability_constraints.rs:203
Method
build
(self)
crates/ty_python_core/src/symbol.rs:307
Method
build
(self)
crates/ty_python_core/src/predicate.rs:74
Method
build
(mut self)
crates/ty_python_core/src/builder.rs:3393
Method
build
(self)
crates/ty_python_semantic/src/lint.rs:409
Method
build
(db: &'db dyn Db, root: RecursiveDefinition<'db>)
crates/ty_python_semantic/src/types/cyclic.rs:377
Method
build
Attempts to build a `Type::BoundSuper` based on the given `pivot_class` and `owner`. This mimics the behavior of Python's built-in `super(pivot, owne
crates/ty_python_semantic/src/types/bound_super.rs:527
Method
build_display_settings
( collector: &AmbiguousNameCollector<'_, 'db>, )
crates/ty_python_semantic/src/types/display.rs:275
Method
build_from_owner
( db: &'db dyn Db, pivot_class: ClassBase<'db>, owner: SuperOwnerKind<'db>, )
crates/ty_python_semantic/src/types/bound_super.rs:512
Function
build_intersection_deduplicates_dnf_branches
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3099
Function
build_intersection_discards_never_dnf_branches
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3080
Function
build_intersection_empty_intersection_equals_object
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:2995
Function
build_intersection_enums
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3184
Function
build_intersection_preserves_negated_alias
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3005
Function
build_intersection_simplify_split_bool
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3135
Method
build_typeshed_mock
(db: &mut TestDb, typeshed_to_build: &MockedTypeshed)
crates/ty_module_resolver/src/testing.rs:285
Function
build_union_no_elements
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:2687
Function
build_union_single_element
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:2697
Function
build_union_two_elements
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:2708
Method
builder
()
crates/ty_ide/src/lib.rs:440
Method
builder
(name: impl Into<CompactString>)
crates/ty_ide/src/completion.rs:401
Method
builtin
(name: &'a str)
crates/ruff_python_ast/src/name.rs:345
Function
builtin_after_exception_target_cleanup
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1209
Function
builtin_constants
()
crates/ty_ide/src/semantic_tokens.rs:2038
Function
builtin_constants_in_expressions
()
crates/ty_ide/src/semantic_tokens.rs:2060
Function
builtin_definition_lookup_does_not_infer_scope
()
crates/ty_python_semantic/src/types/ide_support.rs:2224
Function
builtin_fallbacks_prevent_identifying_all_bindings
()
crates/ty_python_semantic/src/semantic_model.rs:1602
Function
builtin_names_do_not_infer_scope
()
crates/ty_python_semantic/src/types/definition_resolution.rs:862
Method
builtin_property
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066_custom_property_decorator.py:14
Function
builtin_types
()
crates/ty_ide/src/semantic_tokens.rs:2088
← previous
next →
16,401–16,500 of 31,562, ranked by callers