Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,766 in github.com/astral-sh/ruff
⨍
Functions
31,766
◇
Types & classes
7,128
↳
Endpoints
82
Function
blank_lines_notebook
(rule_code: Rule)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:354
Function
blank_lines_top_level_isort_compatibility
( lines_after_imports: isize, lines_between_types: usize, )
crates/ruff_linter/src/rules/pycodestyle/mod.rs:277
Function
blank_lines_typing_stub
(rule_code: Rule)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:338
Function
blank_lines_typing_stub_isort
()
crates/ruff_linter/src/rules/pycodestyle/mod.rs:365
Function
block_comments_indented_block
()
crates/ruff_python_trivia_integration_tests/tests/block_comments.rs:20
Function
block_comments_lines_in_triple_quotes_not_a_block
()
crates/ruff_python_trivia_integration_tests/tests/block_comments.rs:76
Function
block_comments_lines_with_code_not_a_block
()
crates/ruff_python_trivia_integration_tests/tests/block_comments.rs:48
Function
block_comments_sequential_lines_not_in_block
()
crates/ruff_python_trivia_integration_tests/tests/block_comments.rs:62
Function
block_comments_single_line_is_not_a_block
()
crates/ruff_python_trivia_integration_tests/tests/block_comments.rs:34
Function
block_comments_stress_test
()
crates/ruff_python_trivia_integration_tests/tests/block_comments.rs:95
Function
block_comments_two_line_block_at_start
()
crates/ruff_python_trivia_integration_tests/tests/block_comments.rs:6
Function
block_indent
(content: &impl Format<Context>)
crates/ruff_formatter/src/builders.rs:1045
Function
bloom_filter_false_positive
()
crates/ruff_python_formatter/src/comments/mod.rs:584
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:988
Function
bom_with_full_file_range
()
crates/ruff_db/src/diagnostic/render/full.rs:1008
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:3437
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:157
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:1003
Method
bound
( db: &'db dyn Db, return_type: Type<'db>, scope: ScopeId<'db>, place: ScopedP
crates/ty_python_semantic/src/types.rs:13049
Method
bound
Constructor that creates a [`Place`] with type origin [`TypeOrigin::Inferred`] and definedness [`Definedness::AlwaysDefined`].
crates/ty_python_semantic/src/place.rs:244
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:2245
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:1146
Method
bounded_from_elements
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, elements: I, )
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:1633
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:5343
Function
bounded_path_fast_paths_respect_limits
()
crates/ty_python_semantic/src/types/constraints.rs:5842
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:3408
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:389
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:3139
Function
build_intersection_discards_never_dnf_branches
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3120
Function
build_intersection_empty_intersection_equals_object
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3035
Function
build_intersection_enums
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3224
Function
build_intersection_preserves_negated_alias
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3045
Function
build_intersection_simplify_split_bool
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3175
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:2727
← previous
next →
16,501–16,600 of 31,766, ranked by callers