MCPcopy Create free account

hub / github.com/astral-sh/ruff / functions

Functions31,766 in github.com/astral-sh/ruff

Functionindexed_nodes_wide_tail_bounds
()
crates/ruff_db/src/parsed.rs:892
Methodindicates_none_returned
(self)
crates/ruff_linter/src/rules/pydoclint/rules/check_docstring.rs:1144
Functionindirect_dependencies_use_script_declarations
()
crates/ty/tests/cli/scripts.rs:1841
Functionindirect_dependencies_use_updated_declarations
()
crates/ty/tests/cli/uv_workspace.rs:257
Functionindirect_dependencies_use_uv_module_ownership
()
crates/ty/tests/cli/uv_workspace.rs:197
Functioninequality
()
crates/ruff_python_formatter/src/comments/node_key.rs:84
Methodinfer
Infer type mappings for the specialization based on a given type and its declared type.
crates/ty_python_semantic/src/types/generics.rs:4027
Methodinfer_augmented_bindings
Infer augmented-assignment results after finding the existing attribute they read. ```python class Counter: def __init__(self): self.value = (1,) de
crates/ty_python_semantic/src/types/class.rs:2981
Methodinfer_name_or_attribute
( reference: (Type<'db>, Option<Definition<'db>>), annotation: &ast::Expr,
crates/ty_python_semantic/src/types/infer/builder/annotation_expression.rs:105
Functioninference_budget_exhaustion_discards_partial_mappings
()
crates/ty_python_semantic/src/types/generics.rs:5432
Methodinference_cache_key
Returns the key used to deduplicate speculative inference attempts. Standard parameters are cached by their raw parameter type, since later type chec
crates/ty_python_semantic/src/types/call/bind.rs:8515
Functioninference_cleans_merged_types_independently_of_alternatives
()
crates/ty_python_semantic/src/types/generics.rs:5562
Functioninference_preserves_correlated_alternatives
()
crates/ty_python_semantic/src/types/generics.rs:5231
Functioninference_preserves_expanding_cycles_hidden_by_merging
()
crates/ty_python_semantic/src/types/generics.rs:5621
Methodinferred_metaclass
Return this base's selected metaclass or inferred protocol fallback. `subclass` is the class whose declaration names this base. Only a direct `Protoc
crates/ty_python_semantic/src/types/class_base.rs:389
Methodinferred_parameter_context
( db: &'db dyn Db, key: ParameterContextKey<'db>, )
crates/ty_python_semantic/src/types/call/bind.rs:9301
Functioninferred_return_types
()
crates/ty_ide/src/inlay_hints.rs:974
Functioninferred_unknown_type
()
crates/ty_ide/src/inlay_hints.rs:7288
Functioninfers_python_version_from_uv_environment
()
crates/ty_project/src/metadata.rs:1636
Methodinfo
Override the output style for [info][crate::Level::INFO]
crates/ruff_annotate_snippets/src/renderer/mod.rs:222
Functioningle_label_with_message
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:891
Methodinheritance_cycle_inner
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:3420
Functioninherited_class_defaults_avoid_inferring_instance_assignments
()
crates/ty_python_semantic/src/types/infer/tests.rs:1840
Methodinherited_legacy_generic_context_inner
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:485
Functioninherited_property_setter
()
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:766
Methodinit_cache
(path: &Path)
crates/ruff/src/cache.rs:427
Functioninit_logging
(level: LogLevel)
crates/ruff_wasm/src/lib.rs:241
Functioninit_logging
(level: LogLevel)
crates/ty_wasm/src/lib.rs:82
Methodinitial
Seed a query cycle with a one-node graph representing `μa. a`.
crates/ty_python_semantic/src/types/recursive.rs:349
Functioninitial_background_synchronization_is_pending_until_completion
()
crates/ty_project/src/uv/environments.rs:1204
Functioninitialize_multiple_workspace_folders
()
crates/ty_server/tests/e2e/workspace_folders.rs:44
Functioninlay_hint_burst_does_not_block_responses
()
crates/ty_server/tests/e2e/inlay_hints.rs:364
Methodinlay_hints
(&self, file_id: &FileHandle, range: Range)
crates/ty_wasm/src/lib.rs:577
Methodinlay_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
Functioninlay_hints_range_past_end_of_cell
()
crates/ty_server/tests/e2e/notebook.rs:637
Methodinline
Create an [`Insertion`] that inserts content inline (i.e., within semicolon-delimited statements).
crates/ruff_python_importer/src/insertion.rs:324
Functioninline_after_else
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments9.py:93
Functioninline_and_specific_settings_resolution_order
()
crates/ruff_server/src/session/index/ruff_settings.rs:503
Functioninline_comments_in_brackets_ruin_everything
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments2.py:61
Functioninline_configuration
()
crates/ruff_server/src/session/options.rs:972
Functioninline_documentation_strips_doc_comment_prefixes
()
crates/ty_python_semantic/src/lint.rs:309
Functioninline_err
(path: &Utf8Path, content: String)
crates/ruff_python_parser/tests/fixtures.rs:38
Functioninline_ok
(path: &Utf8Path, content: String)
crates/ruff_python_parser/tests/fixtures.rs:32
Functioninline_overrides_are_ignored
()
crates/ty/tests/cli/scripts.rs:372
Functioninline_path_method_call
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:34
Functioninline_settings
()
crates/ruff_server/src/session/index/ruff_settings.rs:485
Functioninline_settings_override_user_configuration
()
crates/ty/tests/cli/scripts.rs:447
Functioninline_settings_replace_project_settings_and_overrides
()
crates/ty/tests/cli/scripts.rs:7
Functioninline_terminal_settings_do_not_apply
()
crates/ty/tests/cli/scripts.rs:411
Functioninner
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/function2.py:18
Functioninner
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:9
Functioninner
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:25
Functioninner
()
crates/ruff_linter/resources/test/fixtures/pydocstyle/D202.py:6
Functioninner
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET502.py:54
Functioninner
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:206
Functioninner
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/global_parameter.py:9
Functioninner
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/annotated_global.py:8
Functioninner
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/nonlocal_parameter.py:9
Functioninner
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM113.py:176
Functioninner
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF070.py:148
Functioninner
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:646
Functioninner
()
crates/ruff_linter/resources/test/fixtures/flake8_import_conventions/tricky.py:36
Functioninner
(x:int)
crates/ruff_linter/resources/test/fixtures/pylint/len_as_condition.py:212
Functioninner
(t: T)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP047_0.py:64
Methodinner
(errors: &mut Vec<ParseError>, error: ParseErrorType, range: TextRange)
crates/ruff_python_parser/src/parser/mod.rs:638
Methodinner
()
crates/ty_python_semantic/resources/corpus/88_regression_generic_method_with_nested_function.py:6
Methodinner
()
crates/ty_python_semantic/resources/corpus/75_classderef_no.py:4
Methodinner
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:19
Functioninner2
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:4
Functioninner2
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:29
Functioninner3
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:16
Functioninner3
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:34
Methodinner_argument
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:70
Methodinner_class
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:81
Functioninner_decorator
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:92
Functioninner_func
()
crates/ruff_linter/resources/test/fixtures/pylint/await_outside_async.py:28
Functioninner_function
Do inner something.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:459
Methodinner_functions
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:66
Functioninner_inner
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:447
Functioninner_more
()
crates/ty_python_semantic/resources/corpus/30_func_enclosed_many.py:12
Methodinner_range
(&self)
crates/ruff_python_ast/src/nodes.rs:3838
Functioninsert
(contents: &str)
crates/ruff_python_importer/src/insertion.rs:405
Methodinsert
Inserts a new branch into the vector and returns its unique [`BranchID`].
crates/ruff_python_semantic/src/branches.rs:29
Functioninsert_first_line
()
crates/ruff_server/src/edit/replacement.rs:149
Methodinsert_member
Insert a member, preserving unpromotable literal provenance if either occurrence has it.
crates/ty_python_semantic/src/types/equality/enums.rs:503
Functioninsert_middle_line
()
crates/ruff_server/src/edit/replacement.rs:167
Functioninsert_multiple_lines
()
crates/ruff_server/src/edit/replacement.rs:185
Methodinsertion
Creates an edit that inserts `content` at the [`TextSize`] `at`.
crates/ruff_diagnostics/src/edit.rs:51
Functioninsertion_with_trailing_whitespace
()
crates/ruff_annotate_snippets/tests/ruff.rs:466
Functioninside_token
()
crates/ty_ide/src/completion.rs:3591
Methodinspect
(&mut self, inspector: F)
crates/ruff_formatter/src/buffer.rs:593
Methodinstance_flags_inner
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:1062
Methodinstance_like_member_lookup
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, key: MemberL
crates/ty_python_semantic/src/types.rs:6127
Methodinstance_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:4638
Methodinstance_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:3109
Methodinstance_member
Look up an instance member by iterating through the MRO.
crates/ty_python_semantic/src/types/class/dynamic_literal.rs:389
Methodinstance_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
Methodinstance_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:321
Methodinstance_method_bound
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:79
Methodinstance_method_bound_with_another_parameter
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:83
← previousnext →23,001–23,100 of 31,766, ranked by callers