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
incorrect_and_operator_issubclass
(arg1, arg2)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:205
Function
incorrect_basic
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:8
Function
incorrect_decorator_order_py312
()
crates/ruff_linter/src/rules/ruff/mod.rs:306
Function
incorrect_multi_conditional
(arg1, arg2)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:226
Function
incorrect_multiple
()
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ013.py:36
Function
incorrect_multiple_operators_callable
(arg1, arg2, arg3)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:191
Function
incorrect_multiple_operators_isinstance
(arg1, arg2, arg3)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:163
Function
incorrect_multiple_operators_issubclass
(arg1, arg2, arg3)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:219
Function
incorrect_multiple_type_check
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:15
Function
incorrect_not_operator_callable
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:170
Function
incorrect_not_operator_isinstance
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:142
Function
incorrect_not_operator_issubclass
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:198
Function
incorrect_or_operator_callable
(arg1, arg2)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:184
Function
incorrect_or_operator_isinstance
(arg1, arg2)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:156
Function
incorrect_or_operator_issubclass
(arg1, arg2)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:212
Function
incorrect_pre_save_handler
()
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ013.py:16
Function
incorrect_with_callable
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:33
Function
incorrect_with_issubclass
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:26
Method
increment
Returns the next indent level.
crates/ruff_python_formatter/src/context.rs:337
Method
incremental
Creates a walker for indexing newly added project files incrementally.
crates/ty_project/src/walk.rs:139
Method
incremental_matcher
( &self, configuration: WalkDirectoryConfiguration, )
crates/ruff_db/src/system/memory_fs.rs:715
Method
incremental_matcher
( &self, configuration: WalkDirectoryConfiguration, )
crates/ruff_db/src/system/os.rs:378
Function
indent
()
crates/ruff_python_codegen/src/generator.rs:2031
Function
indent
(x, y, w, z)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET505.py:203
Function
indent_description
(description: &str)
crates/ty_ide/src/docstring/markdown/structured.rs:1086
Function
indent_empty
()
crates/ruff_python_trivia/src/textwrap.rs:288
Function
indent_empty_line
()
crates/ruff_python_trivia/src/textwrap.rs:310
Function
indent_first_line_empty
()
crates/ruff_python_trivia/src/textwrap.rs:507
Function
indent_first_line_empty_line
()
crates/ruff_python_trivia/src/textwrap.rs:529
Function
indent_first_line_mixed_newlines
()
crates/ruff_python_trivia/src/textwrap.rs:547
Function
indent_first_line_nonempty
()
crates/ruff_python_trivia/src/textwrap.rs:513
Function
indent_if_group_breaks
( content: &Content, group_id: GroupId, )
crates/ruff_formatter/src/builders.rs:2138
Function
indent_mixed_newlines
()
crates/ruff_python_trivia/src/textwrap.rs:328
Function
indent_non_breaking_whitespace
()
crates/ruff_python_codegen/src/stylist.rs:252
Function
indent_nonempty
()
crates/ruff_python_trivia/src/textwrap.rs:294
Method
indent_style
(&self)
crates/ruff_formatter/src/lib.rs:260
Method
indent_style
(&self)
crates/ruff_formatter/src/format_element/document.rs:234
Method
indent_width
(&self)
crates/ruff_formatter/src/lib.rs:264
Method
indent_width
(&self)
crates/ruff_formatter/src/format_element/document.rs:238
Function
indentation
()
crates/ruff_python_codegen/src/stylist.rs:199
Method
indentation
Returns the leading indentation of the given source line.
crates/ty_ide/src/docstring/document/rst.rs:489
Method
indentation
The file's indentation unit, shared with inserted imports and diagnostic fixes.
crates/ty_python_semantic/src/importer.rs:75
Function
indentation_like_black
()
crates/ruff_python_formatter/src/string/docstring.rs:1895
Function
indentation_matching_for_loop_in_preview
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/call_chains.py:263
Function
indentation_matching_walrus_in_preview
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/call_chains.py:273
Function
indentation_try_compare
()
crates/ruff_python_parser/src/lexer/indentation.rs:150
Function
indentation_with_eol
(eol: &str)
crates/ruff_python_parser/src/lexer.rs:2051
Method
indented
Create an [`Insertion`] that starts on its own line, with the given indentation.
crates/ruff_python_importer/src/insertion.rs:344
Function
indented_comment
()
crates/ruff_linter/src/suppression.rs:2888
Method
index
(&self, index: GlobalsId)
crates/ruff_python_semantic/src/globals.rs:32
Method
index
(&self, index: BranchId)
crates/ruff_python_semantic/src/branches.rs:49
Method
index
(&self, index: OperatorIndex)
crates/ruff_python_formatter/src/expression/binary_like.rs:1093
Method
index
(&self, index: TextRange)
crates/ruff_text_size/src/range.rs:493
Method
index
Returns the index of the parameter with the given name
crates/ruff_python_ast/src/nodes.rs:3341
Method
index
(&self, id: I)
crates/ty_python_core/src/interned_nodes.rs:80
Method
index
(&self, index: &K)
crates/ty_python_core/src/frozen.rs:112
Method
index
(&self, index: ScopedPlaceId)
crates/ty_python_core/src/place.rs:502
Method
index
(self)
crates/ty_python_core/src/predicate.rs:52
Method
index
(&self)
crates/ty_python_core/src/ast_node_ref.rs:59
Function
index_fragmented_source_array
()
crates/ruff_notebook/src/notebook.rs:710
Method
index_mut
(&mut self, index: TextRange)
crates/ruff_text_size/src/range.rs:508
Method
index_mut
(&mut self, index: I)
crates/ruff_index/src/slice.rs:162
Method
indexed
(inner: Arc<IndexedInner>)
crates/ty_project/src/files.rs:39
Method
indexed_mut
Returns a mutable view on the index that allows cheap in-place mutations. The changes are automatically written back to the database once the view is
crates/ty_project/src/files.rs:79
Function
indexed_nodes_chunk_boundary
()
crates/ruff_db/src/parsed.rs:911
Function
indexed_nodes_relative_tail_bounds
()
crates/ruff_db/src/parsed.rs:873
Function
indexed_nodes_round_trip
()
crates/ruff_db/src/parsed.rs:922
Function
indexed_nodes_wide_tail_bounds
()
crates/ruff_db/src/parsed.rs:892
Method
indicates_none_returned
(self)
crates/ruff_linter/src/rules/pydoclint/rules/check_docstring.rs:1144
Function
indirect_dependencies_use_script_declarations
()
crates/ty/tests/cli/scripts.rs:1772
Function
indirect_dependencies_use_updated_declarations
()
crates/ty/tests/cli/uv_workspace.rs:257
Function
indirect_dependencies_use_uv_module_ownership
()
crates/ty/tests/cli/uv_workspace.rs:197
Function
inequality
()
crates/ruff_python_formatter/src/comments/node_key.rs:84
Method
infer
Infer type mappings for the specialization based on a given type and its declared type.
crates/ty_python_semantic/src/types/generics.rs:4006
Method
infer_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:2937
Method
infer_name_or_attribute
( reference: (Type<'db>, Option<Definition<'db>>), annotation: &ast::Expr,
crates/ty_python_semantic/src/types/infer/builder/annotation_expression.rs:109
Function
inference_budget_exhaustion_discards_partial_mappings
()
crates/ty_python_semantic/src/types/generics.rs:5354
Method
inference_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:8398
Function
inference_cleans_merged_types_independently_of_alternatives
()
crates/ty_python_semantic/src/types/generics.rs:5484
Function
inference_preserves_correlated_alternatives
()
crates/ty_python_semantic/src/types/generics.rs:5153
Function
inference_preserves_expanding_cycles_hidden_by_merging
()
crates/ty_python_semantic/src/types/generics.rs:5543
Method
inferred_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
Method
inferred_parameter_context
( db: &'db dyn Db, key: ParameterContextKey<'db>, )
crates/ty_python_semantic/src/types/call/bind.rs:9169
Function
inferred_return_types
()
crates/ty_ide/src/inlay_hints.rs:974
Function
inferred_unknown_type
()
crates/ty_ide/src/inlay_hints.rs:7288
Function
infers_python_version_from_uv_environment
()
crates/ty_project/src/metadata.rs:1624
Method
info
Override the output style for [info][crate::Level::INFO]
crates/ruff_annotate_snippets/src/renderer/mod.rs:222
Function
ingle_label_with_message
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:891
Method
inheritance_cycle_inner
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:3377
Function
inherited_class_defaults_avoid_inferring_instance_assignments
()
crates/ty_python_semantic/src/types/infer/tests.rs:1840
Method
inherited_legacy_generic_context_inner
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:486
Function
inherited_property_setter
()
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:766
Method
init_cache
(path: &Path)
crates/ruff/src/cache.rs:427
Function
init_logging
(level: LogLevel)
crates/ruff_wasm/src/lib.rs:241
Function
init_logging
(level: LogLevel)
crates/ty_wasm/src/lib.rs:82
Method
initial
Seed a query cycle with a one-node graph representing `μa. a`.
crates/ty_python_semantic/src/types/recursive.rs:349
Function
initial_background_synchronization_is_pending_until_completion
()
crates/ty_project/src/uv/environments.rs:1037
Function
initialize_multiple_workspace_folders
()
crates/ty_server/tests/e2e/workspace_folders.rs:44
Function
inlay_hint_burst_does_not_block_responses
()
crates/ty_server/tests/e2e/inlay_hints.rs:364
Method
inlay_hints
(&self, file_id: &FileHandle, range: Range)
crates/ty_wasm/src/lib.rs:577
← previous
next →
22,801–22,900 of 31,562, ranked by callers