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
deref_mut
(&mut self)
crates/ruff_python_semantic/src/scope.rs:307
Method
deref_mut
(&mut self)
crates/ty_server/src/session.rs:1539
Method
deref_mut
(&mut self)
crates/ruff_formatter/src/buffer.rs:214
Method
deref_mut
(&mut self)
crates/ruff_python_formatter/src/context.rs:290
Method
deref_mut
(&mut self)
crates/ruff_ranged_value/src/lib.rs:285
Method
deref_mut
(&mut self)
crates/ruff_server/src/session/index.rs:480
Method
deref_mut
(&mut self)
crates/ruff_python_ast/src/nodes.rs:1465
Method
deref_mut
(&mut self)
crates/ty_python_core/src/member.rs:669
Method
deref_mut
(&mut self)
crates/ty_python_core/src/symbol.rs:332
Method
deref_mut
(&mut self)
crates/ruff_python_parser/tests/generate_inline_tests.rs:254
Method
deref_mut
(&mut self)
crates/ruff_notebook/src/cell.rs:352
Method
deref_mut
(&mut self)
crates/ty_ide/src/lib.rs:110
Method
deref_mut
(&mut self)
crates/ty_python_semantic/src/types/display.rs:575
Method
deref_mut
(&mut self)
crates/ty_python_semantic/src/types/typed_dict.rs:3243
Method
deref_mut
(&mut self)
crates/ty_python_semantic/src/types/context.rs:583
Method
deref_mut
(&mut self)
crates/ty_python_semantic/src/diagnostic/mod.rs:240
Method
deref_mut
(&mut self)
crates/ruff_linter/src/checkers/ast/mod.rs:3991
Method
deref_mut
(&mut self)
crates/ruff_index/src/vec.rs:105
Method
deref_mut
(&mut self)
crates/ruff_index/src/frozen.rs:53
Function
derive_combine
(input: TokenStream)
crates/ruff_macros/src/lib.rs:55
Function
derive_combine_options
(input: TokenStream)
crates/ruff_macros/src/lib.rs:42
Function
derive_impl
(input: DeriveInput)
crates/ruff_macros/src/combine.rs:5
Function
derive_impl
(input: DeriveInput)
crates/ruff_macros/src/rule_namespace.rs:8
Function
derive_impl
(input: DeriveInput)
crates/ruff_macros/src/combine_options.rs:4
Function
derive_impl
(input: DeriveInput)
crates/ruff_macros/src/rust_doc.rs:5
Function
derive_message_formats
(_attr: TokenStream, item: TokenStream)
crates/ruff_macros/src/lib.rs:112
Function
derive_message_formats
(func: &ItemFn)
crates/ruff_macros/src/derive_message_formats.rs:7
Function
derive_options_metadata
(input: TokenStream)
crates/ruff_macros/src/lib.rs:24
Function
derive_rule_namespace
(input: TokenStream)
crates/ruff_macros/src/lib.rs:95
Function
derive_rust_doc
(input: TokenStream)
crates/ruff_macros/src/lib.rs:33
Function
derive_violation_metadata
(item: TokenStream)
crates/ruff_macros/src/lib.rs:86
Method
derived
Returns the provenance of a constraint derived from two existing constraints.
crates/ty_python_semantic/src/types/constraints/variables.rs:70
Method
derived
(consumed: u16, remaining: u16)
crates/ty_python_semantic/src/types/constraints/paths.rs:168
Function
deriving_meta_unknown_trait
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:4005
Method
describe_kind
(&self)
crates/ty_module_resolver/src/path.rs:856
Method
describe_problematic_class_bases
List the problematic class bases in a human-readable format.
crates/ty_python_semantic/src/types/diagnostic.rs:3725
Method
describe_typevar
Add an `info`-level diagnostic describing the bounds or constraints, and return the type variable's upper bound or the union of its constraints.
crates/ty_python_semantic/src/types/bound_super.rs:204
Method
description
(self)
crates/ty_python_semantic/src/types/relation.rs:191
Method
description
(self)
crates/ty_python_semantic/src/types/relation_error.rs:33
Method
description
Returns a concise description of this decorator category.
crates/ty_python_semantic/src/types/class.rs:2741
Method
descriptor
( descriptor_ty: Type<'db>, domain: Option<Type<'db>>, definition: Option<Definition<'
crates/ty_python_semantic/src/types/protocol_class.rs:1079
Method
deserialize
(deserializer: D)
crates/ty_project/src/metadata/pyproject.rs:270
Method
deserialize
(deserializer: D)
crates/ty_project/src/uv/metadata/string_interner.rs:71
Method
deserialize
(deserializer: D)
crates/ruff_python_semantic/src/imports.rs:208
Method
deserialize
(deserializer: D)
crates/ty_server/src/system.rs:317
Method
deserialize
(deserializer: D)
crates/ruff_ranged_value/src/lib.rs:341
Method
deserialize
(deserializer: D)
crates/ruff_workspace/src/options.rs:635
Method
deserialize
(deserializer: D)
crates/ruff_text_size/src/serde_impls.rs:16
Method
deserialize
(deserializer: D)
crates/ruff_python_ast/src/python_version.rs:185
Method
deserialize
(deserializer: D)
crates/ruff_linter/src/line_width.rs:44
Function
deserialize_docstring_code_line_width_dynamic
Responsible for deserializing the `DocstringCodeLineWidth::Dynamic` variant.
crates/ruff_python_formatter/src/options.rs:499
Function
deserialize_map
( deserializer: D, )
crates/ty_project/src/uv/metadata/string_interner.rs:82
Function
deserialize_optional
( deserializer: D, )
crates/ty_project/src/uv/metadata/string_interner.rs:76
Method
deserialize_toml
(content: &str)
crates/ty_project/src/metadata/pyproject.rs:44
Method
deserialize_with
( source: ValueSource, deserializer: D, registry: &LintRegistry, )
crates/ty_project/src/metadata/options.rs:225
Function
desperate_resolution_finds_stub_package
()
crates/ty_module_resolver/src/resolve.rs:2118
Function
detached_command_executor_does_not_retain_document_index
()
crates/ty_server/src/session.rs:2381
Function
detached_untrusted_executor_rejects_commands
()
crates/ty_server/src/session.rs:2398
Method
detect
Detect the [`ModuleImports`] for a given Python file.
crates/ruff_graph/src/lib.rs:27
Method
detect
Attempts to detect an import statement in reverse starting at the end of `tokens`. That is, `tokens` should correspond to the sequence of tokens up to
crates/ty_ide/src/completion.rs:2697
Function
detect_correct_file_change
()
crates/ruff/src/lib.rs:529
Function
detect_same_package
()
crates/ruff_linter/src/rules/isort/mod.rs:1665
Function
detect_wsl
()
crates/ruff_linter/src/rules/flake8_executable/helpers.rs:23
Function
detects_cpython_implementation
()
crates/ty_site_packages/src/lib.rs:2966
Function
detects_graalpy_implementation
()
crates/ty_site_packages/src/lib.rs:2982
Function
detects_pypy_implementation
()
crates/ty_site_packages/src/lib.rs:2950
Function
detects_unknown_implementation
()
crates/ty_site_packages/src/lib.rs:2998
Function
developer_greeting
()
crates/ruff_linter/resources/test/fixtures/pylint/no_self_use.py:18
Method
developer_greeting
(self, name)
crates/ruff_linter/resources/test/fixtures/pylint/no_self_use.py:7
Method
developer_greeting
(self, name)
crates/ruff_linter/resources/test/fixtures/pylint/no_self_use.py:145
Function
dfa_memory_usage
(dfa: &Option<dfa::dense::DFA<Vec<u32>>>)
crates/ty_project/src/glob/include.rs:55
Method
diagnostic
(_locator: &Locator, _comment_ranges: &CommentRanges, context: &LintContext)
crates/ruff_linter/src/rules/ruff/rules/test_rules.rs:86
Method
diagnostic_display
Display the version range in a way that is suitable for rendering in user-facing diagnostics.
crates/ty_module_resolver/src/typeshed.rs:241
Function
diagnostic_end_of_file
()
crates/ty_server/tests/e2e/notebook.rs:158
Function
diagnostic_includes_secondary_annotations
()
crates/ty_wasm/tests/api.rs:299
Method
diagnostic_name
(self)
crates/ty_python_semantic/src/types/typed_dict.rs:1590
Function
diagnostic_order_with_missing_locations
()
crates/ruff_db/src/diagnostic/render.rs:2468
Function
diagnostic_tags
()
crates/ruff_wasm/tests/api.rs:183
Function
diagnostic_tags
()
crates/ty_wasm/tests/api.rs:202
Function
diagnostic_width
()
crates/ruff_annotate_snippets/tests/formatter.rs:3226
Function
diagnostic_width2
()
crates/ruff_annotate_snippets/tests/formatter.rs:3279
Method
diagnostics
(&self)
crates/ty_project/src/files.rs:211
Function
diagnostics_with_equal_locations_sort_by_concise_message
()
crates/ruff_db/src/diagnostic/render.rs:2485
Function
dict_comp
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:82
Method
dict_comp_expr
(self)
crates/ruff_python_ast/src/generated.rs:1990
Function
dict_comp_fields
( node: &ast::ExprDictComp, )
crates/ruff_python_ast/src/comparable.rs:1183
Function
dict_comprehension
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:55
Function
dict_comprehension
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:46
Function
dict_comprehension_also_not_okay
(default={i: i**2 for i in range(3)})
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:106
Method
dict_expr
(self)
crates/ruff_python_ast/src/generated.rs:1842
Function
dict_fields
(node: &ast::ExprDict)
crates/ruff_python_ast/src/comparable.rs:1130
Method
did_change_watched_files
(&mut self, events: Vec<FileEvent>)
crates/ruff_server/tests/e2e/main.rs:751
Method
diff
Returns a diff between the original and modified source code. Returns `None` if `self` and `other` are not of the same kind.
crates/ruff_linter/src/source_kind.rs:177
Function
diff_after_unchanged_prefix
()
crates/ruff_dev/src/generate_all.rs:129
Function
diff_does_not_show_display_only_fixes_with_unsafe_fixes_enabled
()
crates/ruff/tests/integration_test.rs:2276
Function
diff_format
()
crates/ruff_annotate_snippets/tests/formatter.rs:2077
Function
diff_only_unsafe_fixes_available
()
crates/ruff/tests/integration_test.rs:2292
Function
diff_shows_safe_fixes_by_default
()
crates/ruff/tests/integration_test.rs:2235
Function
diff_shows_unsafe_fixes_with_opt_in
()
crates/ruff/tests/integration_test.rs:2255
Function
diff_within_limit
()
crates/ruff_dev/src/generate_all.rs:101
← previous
next →
17,801–17,900 of 31,766, ranked by callers