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
Method
in_sync_comprehension
(&self)
crates/ty_python_core/src/builder.rs:5953
Method
in_sync_comprehension
(&self)
crates/ruff_linter/src/checkers/ast/mod.rs:962
Method
in_type_checking_block
Return `true` if the context is in a type-checking block.
crates/ruff_python_semantic/src/reference.rs:85
Function
in_type_def
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:78
Method
in_type_definition
Return `true` if the context is in any kind of type definition.
crates/ruff_python_semantic/src/reference.rs:80
Method
in_typing_only_annotation
Return `true` if the context is in a typing-only type annotation.
crates/ruff_python_semantic/src/reference.rs:56
Method
in_yield_allowed_context
(&self)
crates/ty_python_core/src/builder.rs:5941
Method
in_yield_allowed_context
(&self)
crates/ruff_linter/src/checkers/ast/mod.rs:951
Function
included_documentation_preserves_indentation
()
crates/ty_python_semantic/src/lint.rs:317
Method
includes
Returns `true` if a parameter with the given name is included in this [`Parameters`].
crates/ruff_python_ast/src/nodes.rs:3391
Function
includes_matching_version_pypy_without_wrong_version_cpython_when_unknown
()
crates/ty_site_packages/src/lib.rs:3910
Method
incoming_calls
(&self)
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:520
Function
incoming_calls_multi_file
()
crates/ty_server/tests/e2e/call_hierarchy.rs:173
Function
incomplete_except_handler_uses_enclosing_scope
()
crates/ty_ide/src/completion.rs:6493
Function
incomplete_inference_preserves_complete_siblings
()
crates/ty_python_semantic/src/types/generics.rs:5277
Function
incomplete_solution_discards_the_projection
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:775
Function
inconsistent_indent_byte_size
There's a non-breaking space (2-bytes) after 3 spaces (https://github.com/astral-sh/ruff/issues/9080). Returns:
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:720
Function
incorrect_ArithmeticError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:40
Function
incorrect_AssertionError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:47
Function
incorrect_AttributeError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:54
Function
incorrect_BufferError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:61
Function
incorrect_EOFError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:68
Function
incorrect_ImportError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:75
Function
incorrect_LookupError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:82
Function
incorrect_MemoryError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:89
Function
incorrect_NameError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:100
Function
incorrect_ReferenceError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:107
Function
incorrect_RuntimeError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:114
Function
incorrect_SyntaxError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:121
Function
incorrect_SystemError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:128
Function
incorrect_ValueError
(some_arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:135
Function
incorrect_and_operator_callable
(arg1, arg2)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:177
Function
incorrect_and_operator_isinstance
(arg1, arg2)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:149
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:143
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:250
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:197
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:1892
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:2887
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:3354
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:713
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
← previous
next →
22,901–23,000 of 31,766, ranked by callers