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
type_budget_charges_nested_set_theoretic_terms
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:1037
Function
type_budget_is_charged_before_constructing_a_union
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:960
Function
type_cast_literal_str_to_str
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4282
Function
type_check_only_is_type_check_only
()
crates/ty_ide/src/completion.rs:7174
Method
type_checking_binding_statement
( semantic: &SemanticModel<'a>, type_checking_block: &Stmt, )
crates/ruff_linter/src/importer/mod.rs:247
Function
type_checking_import_includes_private_stub_symbols
()
crates/ty_ide/src/completion.rs:3796
Function
type_checking_imports
()
crates/ruff/tests/cli/analyze_graph.rs:8
Function
type_checking_imports_from_config
()
crates/ruff/tests/cli/analyze_graph.rs:75
Method
type_context
Returns the type context used for inferring the argument expression.
crates/ty_python_semantic/src/types/call/bind.rs:8385
Method
type_count
(&self)
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:467
Method
type_definition
(self, db: &'db dyn Db)
crates/ty_python_semantic/src/types/typed_dict.rs:706
Method
type_expression_context
(&self)
crates/ty_python_semantic/src/types/infer/builder/type_expression.rs:197
Method
type_form_argument
Return the type denoted by this retained runtime type-expression object. This is the scope-independent subset of `Type::in_type_expression` used when
crates/ty_python_semantic/src/types/known_instance.rs:532
Function
type_hierarchy_subtypes
Get the direct subtypes of the class given in `modules`. When the type given doesn't correspond to a class literal, then this always returns an empty
crates/ty_python_semantic/src/types/ide_support.rs:1921
Function
type_hierarchy_supertypes
Get the direct base classes for the class type given. When the type given doesn't correspond to a class literal, then this always returns an empty se
crates/ty_python_semantic/src/types/ide_support.rs:1888
Function
type_ignore_before_fmt_off
()
crates/ty_python_semantic/src/suppression/parser.rs:334
Function
type_ignore_explanation
()
crates/ty_python_semantic/src/suppression/parser.rs:298
Function
type_ignore_multiple_codes
()
crates/ty_python_semantic/src/suppression/parser.rs:419
Function
type_ignore_no_codes
()
crates/ty_python_semantic/src/suppression/parser.rs:280
Function
type_ignore_single_code
()
crates/ty_python_semantic/src/suppression/parser.rs:440
Function
type_ignore_tag
()
crates/ruff_linter/src/rules/pygrep_hooks/rules/blanket_type_ignore.rs:144
Function
type_inference
()
crates/ruff_python_semantic/src/analyze/type_inference.rs:467
Method
type_is_self_referential_impl
( state: State<'db, '_>, ty: Type<'db>, self_identity: TypeVarIdentity<'db
crates/ty_python_semantic/src/types/typevar.rs:584
Function
type_keyword_dedup
()
crates/ty_ide/src/completion.rs:3596
Function
type_mapping_evaluates_mapped_subjects
()
crates/ty_python_semantic/src/types/constraints.rs:5477
Function
type_mapping_handles_absorbed_constraints_in_source_order
()
crates/ty_python_semantic/src/types/constraints.rs:5502
Function
type_mapping_updates_constraint_bounds
()
crates/ty_python_semantic/src/types/constraints.rs:5299
Method
type_member
Return the member whose descriptor protocol applies to the receiver, if any.
crates/ty_python_semantic/src/types/attribute_write.rs:310
Function
type_param_comments
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:81
Function
type_param_magic
(a: T, b: T)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:7
Function
type_param_magic
(a: T, b: T)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:7
Function
type_param_magic_mixed1
(a: T, b: T)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:75
Function
type_param_magic_mixed1
(a: T, b: T)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:75
Function
type_param_magic_mixed2
( a: T, b: T )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:81
Function
type_param_magic_mixed2
( a: T, b: T )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:81
Function
type_param_magic_multiline
( a: T, b: T )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/skip_magic_trailing_comma_generic_wrap.py:32
Function
type_param_magic_multiline
( a: T, b: T )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:32
Method
type_parameter_default_order
( type_params: &ast::TypeParams, ctx: &Ctx, )
crates/ruff_python_parser/src/semantic_errors.rs:730
Function
type_parameter_rename_isolation
()
crates/ruff/tests/cli/lint.rs:3962
Function
type_parameters_pep695
()
crates/ty_ide/src/semantic_tokens.rs:4133
Function
type_parameters_usage_in_function_body
()
crates/ty_ide/src/semantic_tokens.rs:4255
Method
type_params_state
(self)
crates/ruff_linter/src/rules/pycodestyle/rules/logical_lines/mod.rs:506
Function
type_pattern
(elts: Vec<&Expr>)
crates/ruff_linter/src/rules/flake8_bugbear/rules/duplicate_exceptions.rs:117
Method
type_qualifiers
Returns the type qualifiers (e.g. `Final`, `ClassVar`) for a given expression, if the expression refers to a name or attribute with declared qualifier
crates/ty_python_semantic/src/semantic_model.rs:652
Method
type_var
(self)
crates/ruff_python_ast/src/generated.rs:3461
Function
type_var_default_preview
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:277
Function
type_var_fields
(node: &ast::TypeParamTypeVar)
crates/ruff_python_ast/src/comparable.rs:1551
Method
type_var_tuple
(self)
crates/ruff_python_ast/src/generated.rs:3498
Function
type_var_tuple_fields
(node: &ast::TypeParamTypeVarTuple)
crates/ruff_python_ast/src/comparable.rs:1572
Method
typed_dict
(defining_class: impl Into<ClassType<'db>>)
crates/ty_python_semantic/src/types.rs:3449
Function
typed_dict_literal_key_completion_before_colon
()
crates/ty_server/tests/e2e/completions.rs:821
Method
typed_dict_member
Member lookup for classes that inherit from `typing.TypedDict`. This is implemented as a separate method because the item definitions on a `TypedDict
crates/ty_python_semantic/src/types/class/static_literal.rs:2526
Function
typed_names_correct_forward_ref
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4541
Function
typeshed_auto_import_is_type_check_only_in_stub
()
crates/ty_ide/src/completion.rs:10144
Function
typeshed_helper_type
()
crates/ty_ide/src/inlay_hints.rs:7380
Function
typeshed_no_panic
(range: &str)
crates/ty_python_semantic/tests/corpus.rs:68
Function
typeshed_versions_consistent_with_vendored_stubs
()
crates/ty_module_resolver/src/typeshed.rs:357
Function
typeshed_vfs_consistent_with_vendored_stubs
()
crates/ty_vendored/src/lib.rs:52
Function
typeshed_zip_created_at_build_time
()
crates/ty_vendored/src/lib.rs:34
Method
typevar_default_is_self_referential
( state: State<'db, '_>, typevar: TypeVarInstance<'db>, self_identity: Typ
crates/ty_python_semantic/src/types/typevar.rs:520
Function
typevar_set_distinguishes_fresh_and_paramspec_identities
()
crates/ty_python_semantic/src/types/typevar.rs:2523
Function
typevar_set_empty_set_is_none
()
crates/ty_python_semantic/src/types/typevar.rs:2448
Function
typevar_set_keeps_first_instance_for_each_identity
()
crates/ty_python_semantic/src/types/typevar.rs:2467
Function
typevar_with_constraints
()
crates/ty_ide/src/completion.rs:8660
Function
typevar_with_upper_bound
()
crates/ty_ide/src/completion.rs:8647
Function
typevar_without_bounds_or_constraints
()
crates/ty_ide/src/completion.rs:8688
Function
typing_extensions_auto_import_is_type_check_only_in_stub
()
crates/ty_ide/src/completion.rs:10211
Function
typing_extensions_module_completion_is_type_check_only_in_stub
()
crates/ty_ide/src/completion.rs:10195
Function
typing_extensions_overload
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:3571
Function
typing_guard_for_protocol
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4522
Function
typing_only_project_builtins_not_suggested_implicitly
()
crates/ty_ide/src/completion.rs:3820
Function
typing_overload
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:3537
Function
typing_overload_async
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:3605
Function
typing_stub_over_module
()
crates/ty_module_resolver/src/resolve.rs:2535
Function
typing_vs_typeshed_no_default
()
crates/ty_python_semantic/src/types/tests.rs:259
Function
u
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:163
Function
u
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:14
Function
u32_tab_offset_advances_to_next_stop
()
crates/ruff_python_trivia/src/whitespace.rs:154
Function
unanchored_dependency_cycle_remains_unresolved
()
crates/ty_python_semantic/src/types/generics.rs:5681
Function
unary_op_fields
(node: &ast::ExprUnaryOp)
crates/ruff_python_ast/src/comparable.rs:1076
Function
unassigned_annotation_is_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4099
Function
unattached_combining_marks
()
crates/ruff_python_literal/src/escape.rs:679
Function
unavailable_dependency_information_has_a_reason
()
crates/ty_project/src/uv/metadata/dependencies.rs:646
Function
unavailable_document_diagnostic_returns_empty_response
()
crates/ruff_server/tests/e2e/workspace.rs:286
Function
unavailable_document_returns_empty_response
()
crates/ruff_server/tests/e2e/hover.rs:208
Function
unavailable_uv_reports_metadata_error
()
crates/ty/tests/cli/scripts.rs:1520
Method
unbound
(reachability_constraint: ScopedReachabilityConstraintId)
crates/ty_python_core/src/use_def/place_state.rs:436
Method
unbound
(db: &'db dyn Db, ty: Type<'db>)
crates/ty_python_semantic/src/types.rs:12969
Method
unbound
()
crates/ty_python_semantic/src/place.rs:1087
Method
unbound
()
crates/ty_python_semantic/src/types/member.rs:22
Function
unbound_exported
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:3416
Method
unbound_on
(error: &CallDunderError<'db>)
crates/ty_python_semantic/src/types/context_manager.rs:390
Function
unbound_symbol_no_reachability_constraint_check
()
crates/ty_python_semantic/src/types/infer/tests.rs:860
Function
unbraced_metadata_not_allowed
()
crates/mdtest/src/parser.rs:2254
Method
uncached
(entries: &'a IndexSlice<ScopedPredicateId, Predicate<'db>>)
crates/ty_python_semantic/src/reachability.rs:844
Function
unchanged_branches_preserve_binding_identity
()
crates/ty_python_core/src/use_def/exception_checkpoint.rs:99
Function
unchanged_script_environment_is_reused_after_source_edits
()
crates/ty/tests/file_watching.rs:4207
Function
unclear_from_pep_484_if_this_is_positional_or_not
(__: str)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI063.py:18
Method
unclear_from_pep_484_if_this_is_positional_or_not
(__: str)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI063.py:45
Function
unclosed_1
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2643
← previous
next →
30,501–30,600 of 31,562, ranked by callers