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
while_stmt
(self)
crates/ruff_python_ast/src/generated.rs:708
Function
while_trailing_else_end_of_line_comment
()
crates/ruff_python_formatter/src/comments/mod.rs:1090
Function
while_trailing_end_of_line_comment
()
crates/ruff_python_formatter/src/comments/mod.rs:1076
Function
while_true
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:279
Function
white_space_syntax_error_compatibility
()
crates/ruff_linter/src/rules/pycodestyle/mod.rs:215
Method
widen
(db: &'db dyn Db, env: &ProgramEnvironment<'db>, elements: &[Type<'db>])
crates/ty_python_semantic/src/types/literal.rs:575
Method
widen_growing_tuples
Widen tuple unions that acquire new lengths between successive cycle results. Normalizing an existing union during cycle recovery does not imply that
crates/ty_python_semantic/src/types/set_theoretic.rs:294
Function
wildcard
()
crates/ruff/tests/analyze_graph.rs:696
Function
wildcard_reexport_all_empty
()
crates/ty_ide/src/symbols.rs:2416
Function
wildcard_reexport_all_empty_not_applies_to_importer
()
crates/ty_ide/src/symbols.rs:2436
Function
wildcard_reexport_all_empty_then_added_to
()
crates/ty_ide/src/symbols.rs:2483
Function
wildcard_reexport_all_empty_then_added_to_incorrect
()
crates/ty_ide/src/symbols.rs:2537
Function
wildcard_reexport_all_include_all_and_non_existent
()
crates/ty_ide/src/symbols.rs:2607
Function
wildcard_reexport_all_include_all_applies_to_importer
()
crates/ty_ide/src/symbols.rs:2458
Function
wildcard_reexport_all_include_all_then_added_to
()
crates/ty_ide/src/symbols.rs:2506
Function
wildcard_reexport_all_include_all_then_added_to_correct
()
crates/ty_ide/src/symbols.rs:2560
Function
wildcard_reexport_all_include_all_with_others_applies_to_importer
()
crates/ty_ide/src/symbols.rs:2653
Function
wildcard_reexport_all_non_empty_but_non_existent
()
crates/ty_ide/src/symbols.rs:2586
Function
wildcard_reexport_all_not_applies_to_importer
()
crates/ty_ide/src/symbols.rs:2628
Function
wildcard_reexport_all_simple
()
crates/ty_ide/src/symbols.rs:2377
Function
wildcard_reexport_all_simple_include_all
()
crates/ty_ide/src/symbols.rs:2395
Function
wildcard_reexport_double_underscore_no_all
()
crates/ty_ide/src/symbols.rs:2302
Function
wildcard_reexport_normal_from_import_no_all
()
crates/ty_ide/src/symbols.rs:2346
Function
wildcard_reexport_normal_import_no_all
()
crates/ty_ide/src/symbols.rs:2318
Function
wildcard_reexport_redundant_from_import_no_all
()
crates/ty_ide/src/symbols.rs:2362
Function
wildcard_reexport_redundant_import_no_all
()
crates/ty_ide/src/symbols.rs:2334
Function
wildcard_reexport_simple_no_all
()
crates/ty_ide/src/symbols.rs:2274
Function
wildcard_reexport_single_underscore_no_all
()
crates/ty_ide/src/symbols.rs:2286
Method
will_break
(&self)
crates/ruff_formatter/src/format_element/document.rs:692
Function
windows_component_equality_and_borrowed_lookup
()
crates/ruff_db/src/system/path.rs:1032
Function
with
()
crates/ty_python_core/src/use_def/place_state.rs:841
Function
with
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:455
Function
with
()
crates/ruff_linter/src/rules/pylint/helpers.rs:608
Function
with_backslash
Sum\\mary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D300.py:1
Method
with_capacity
Returns [`CFGBuilder`] with vector of blocks initialized at given capacity and with both initial and terminal blocks populated.
crates/ruff_python_semantic/src/cfg/graph.rs:171
Method
with_capacity
Creates a buffer with the specified capacity
crates/ruff_formatter/src/buffer.rs:187
Method
with_capacity
(capacity: usize)
crates/ruff_formatter/src/printer/mod.rs:912
Method
with_capacity
(capacity: usize)
crates/ruff_python_ast/src/name.rs:475
Method
with_capacity
(bindings: usize, declaration_map: usize, declarations: usize)
crates/ty_python_core/src/use_def.rs:361
Method
with_capacity
(capacity: usize)
crates/ruff_python_parser/src/parser/scratch_buffer.rs:17
Method
with_capacity
Create a new [`CellOffsets`] with the given capacity.
crates/ruff_notebook/src/cell.rs:264
Method
with_capacity
(capacity: usize)
crates/ty_python_semantic/src/types/tuple.rs:2968
Method
with_capacity
(capacity: usize)
crates/ruff_linter/src/noqa.rs:1318
Method
with_capacity
(tokens: usize)
crates/ruff_linter/src/rules/pycodestyle/rules/logical_lines/mod.rs:384
Method
with_capacity
(capacity: usize)
crates/ruff_index/src/vec.rs:26
Method
with_client_capabilities
(mut self, capabilities: ClientCapabilities)
crates/ty_server/tests/e2e/main.rs:1616
Method
with_client_capabilities
(mut self, capabilities: ClientCapabilities)
crates/ruff_server/tests/e2e/main.rs:1113
Function
with_comment
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM105_0.py:99
Method
with_comments
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:136
Method
with_condition
(mut self, condition: Option<Condition>)
crates/ruff_formatter/src/format_element/tag.rs:209
Method
with_config
( path: &'static str, files: &[(&'static str, &'static str)], config: &'st
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:4322
Method
with_configured_search_paths
Starts a search using configured search paths.
crates/ty_module_resolver/src/resolve/search.rs:126
Method
with_content
(content: String)
crates/ruff_python_semantic/src/cfg/visualize.rs:47
Method
with_current_directory
Creates a new, empty in memory file system with the given current working directory.
crates/ruff_db/src/system/memory_fs.rs:45
Method
with_dataclass_params
Returns a new `ClassLiteral` with the given dataclass params, preserving all other fields.
crates/ty_python_semantic/src/types/class.rs:1124
Method
with_dataclass_params
Returns a new [`DynamicClassLiteral`] with the given dataclass params, preserving all other fields.
crates/ty_python_semantic/src/types/class/dynamic_literal.rs:540
Method
with_definedness
( member: PlaceAndQualifiers<'db>, definedness: Definedness, )
crates/ty_python_semantic/src/types.rs:4747
Method
with_definition
(mut self, definition: Definition<'db>)
crates/ty_python_semantic/src/place.rs:180
Method
with_definition
(ty: Type<'db>, definition: Option<Definition<'db>>)
crates/ty_python_semantic/src/types/protocol_class.rs:1362
Method
with_deprecated
(self, db: &'db dyn Db, deprecated: OverloadLiteral<'db>)
crates/ty_python_semantic/src/types/callable.rs:791
Method
with_diff
(mut self, expected: String, actual: String)
crates/mdtest/src/matcher.rs:83
Method
with_editor_settings
Merges the `configuration` with the editor-defined settings, falling back to the unmodified configuration if the editor settings are invalid.
crates/ruff_server/src/session/index/ruff_settings.rs:103
Function
with_ellipsis
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM105_0.py:83
Function
with_ellipsis_and_return
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM105_0.py:91
Method
with_errors
(result_ty: Type<'db>, errors: Vec<SubscriptErrorKind<'db>>)
crates/ty_python_semantic/src/types/subscript.rs:248
Method
with_expression_type
(annotation_ty: DeclaredType<'db>, expression_ty: Type<'db>)
crates/ty_python_semantic/src/types/infer/builder/annotation_expression.rs:37
Function
with_feature
Some decorator
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:131
Method
with_file
(path: impl AsRef<Path>, content: &str)
crates/ty/tests/common/mod.rs:76
Method
with_file
Creates a test fixture with a single file. # Arguments `path` - The relative path for the file `content` - The content to write to the file # Examp
crates/ruff/tests/cli/main.rs:124
Method
with_file
(path: impl AsRef<std::path::Path>, content: &str)
crates/ruff/tests/cli/analyze_graph.rs:174
Method
with_file
(path: impl AsRef<std::path::Path>, content: &str)
crates/ruff/tests/cli/version.rs:112
Method
with_files
( files: impl IntoIterator<Item = (&'a str, &'a str)>, )
crates/ty/tests/common/mod.rs:68
Method
with_files
( files: impl IntoIterator<Item = (&'a str, &'a str)>, )
crates/ruff/tests/cli/main.rs:64
Method
with_files
(files: impl IntoIterator<Item = (&'a str, &'a str)>)
crates/ruff/tests/cli/analyze_graph.rs:167
Method
with_files
(mut self, files: I)
crates/ruff_server/tests/e2e/main.rs:1139
Method
with_files
(path: &'static str, files: &[(&'static str, &'static str)])
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:4304
Method
with_files_and_src_roots
( path: &'static str, files: &[(&'static str, &'static str)], src_roots: V
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:4311
Function
with_forward_ref
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:28
Method
with_group_id
(mut self, id: Option<GroupId>)
crates/ruff_formatter/src/format_element/tag.rs:344
Method
with_id
(mut self, id: Option<GroupId>)
crates/ruff_formatter/src/format_element/tag.rs:234
Function
with_if
()
crates/ruff_linter/src/rules/pylint/rules/too_many_return_statements.rs:200
Method
with_inherited_generic_context
( &self, db: &'db dyn Db, inherited_generic_context: GenericContext<'db>, )
crates/ty_python_semantic/src/types/signatures.rs:213
Method
with_initialization_options
(mut self, options: serde_json::Value)
crates/ruff_server/tests/e2e/main.rs:1016
Method
with_inline
(inline: &'a str)
crates/ty_ide/src/docstring/document.rs:175
Method
with_item
(mut self, item: T)
crates/ruff_formatter/src/lib.rs:778
Function
with_item_definition
()
crates/ty_python_core/src/lib.rs:1856
Function
with_item_suggests_as
()
crates/ty_ide/src/completion.rs:8980
Function
with_item_unpacked_definition
()
crates/ty_python_core/src/lib.rs:1879
Function
with_lambda
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:86
Function
with_leading_comment
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:116
Method
with_leading_comments
( mut self, comments: &'a [SourceComment], last_node: Option<N>, )
crates/ruff_python_formatter/src/statement/clause.rs:535
Method
with_level
(level: Level<'a>)
crates/ruff_annotate_snippets/src/snippet.rs:74
Method
with_methods
Synthesize a new protocol interface with the given methods.
crates/ty_python_semantic/src/types/protocol_class.rs:824
Method
with_mode
(mut self, mode: GroupMode)
crates/ruff_formatter/src/format_element/tag.rs:240
Method
with_no_comments
(value: &'a str, element_range: TextRange)
crates/ruff_linter/src/rules/ruff/rules/sequence_sorting.rs:862
Method
with_node_count
(node_count: usize)
crates/ty_python_core/src/ast_ids.rs:58
Method
with_offset
(text: &'a str, offset: TextSize)
crates/ruff_source_file/src/newlines.rs:43
Method
with_options
(mut self, options: O)
crates/ruff_formatter/src/lib.rs:727
Method
with_options
(mut self, options: Self::Options)
crates/ruff_python_formatter/src/expression/expr_generator.rs:25
Method
with_options
(mut self, options: Self::Options)
crates/ruff_python_formatter/src/expression/expr_tuple.rs:107
← previous
next →
31,501–31,600 of 31,766, ranked by callers