MCPcopy Create free account

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

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

Methoddyn_clone
(&self)
crates/ty_test/src/db.rs:193
Methoddyn_clone
(&self)
crates/ruff_db/src/system/test.rs:211
Methoddyn_clone
(&self)
crates/ruff_db/src/system/os.rs:226
Methoddyn_clone
(&self)
crates/ty_wasm/src/lib.rs:1715
Methoddyn_clone
(&self)
crates/ty_python_semantic/tests/corpus.rs:254
Methoddyn_clone
(&self)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:154
Methoddynamic
Return a signature for a dynamic callable
crates/ty_python_semantic/src/types/signatures.rs:999
Functiondynamic_class_metaclass_updates_after_base_change
()
crates/ty_python_semantic/src/types/infer/tests.rs:1517
Functiondynamic_class_prepare_and_supertypes_inline
()
crates/ty_ide/src/type_hierarchy.rs:413
Functiondynamic_class_prepare_and_supertypes_variable_definition
()
crates/ty_ide/src/type_hierarchy.rs:392
Functiondynamic_class_subtypes_of_class_definition
()
crates/ty_ide/src/type_hierarchy.rs:461
Functiondynamic_class_subtypes_of_dynamic
()
crates/ty_ide/src/type_hierarchy.rs:475
Methoddynamic_fallback
Compute a fallback MRO for a dynamic class when `of_dynamic_class` fails. Preserves known bases even when an invalid base must be replaced with `Unkn
crates/ty_python_semantic/src/types/mro.rs:513
Functiondynamic_tuple_elements_do_not_compare_by_value
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:191
Functiondynamic_type_list_no_type_annotation
()
crates/ty_ide/src/completion.rs:11331
Functiondynamic_type_with_intersection_type_annotation
()
crates/ty_ide/src/completion.rs:11371
Functiondynamic_type_with_type_annotation
()
crates/ty_ide/src/completion.rs:11350
Functiondynamically_registers_formatting_and_range_formatting_for_python_and_markdown
()
crates/ruff_server/tests/e2e/capabilities.rs:26
Functione
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:147
Functione
(arg: (await 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:2
Functione
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB187.py:38
Functione
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:190
Functione
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP032_0.py:114
Functione0271
()
crates/ruff_annotate_snippets/tests/formatter.rs:2462
Functione0271_2
()
crates/ruff_annotate_snippets/tests/formatter.rs:2569
Functione1
( # e 1 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_empty.py:67
Functione1
( # e 1 x)
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:68
Functione2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_empty.py:71
Functione2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:72
Functione3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:76
Functione4
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:81
Functione5
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:87
Functione501_non_ascii_char
()
crates/ruff_linter/src/checkers/physical_lines.rs:101
Functione6
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:94
Functione7
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:102
Functione8
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:110
Functioneach_toml_option_requires_a_new_flag_1
()
crates/ruff/tests/cli/lint.rs:1516
Functioneach_toml_option_requires_a_new_flag_2
()
crates/ruff/tests/cli/lint.rs:1547
Functioneager_and_lazy_negation_are_equivalent
()
crates/ty_python_semantic/src/types/constraints/paths.rs:1254
Functioneager_expansion
()
crates/ty_python_semantic/src/types/tests.rs:1108
Methodeager_type
(self)
crates/ty_python_semantic/src/types/signatures.rs:6536
Functionearly_break
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:327
Functionearly_continue
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:336
Functionearly_return
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:319
Functionearly_return_else
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:345
Methodeasy_asserts
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/composition.py:61
Methodeasy_asserts
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/composition_no_trailing_comma.py:61
Methodeat
(self)
crates/ruff_linter/resources/test/fixtures/pylint/bad_staticmethod_argument.py:3
Methodeat
(cls, x, y, z)
crates/ruff_linter/resources/test/fixtures/pylint/bad_staticmethod_argument.py:15
Methodeat
(x, self, z)
crates/ruff_linter/resources/test/fixtures/pylint/bad_staticmethod_argument.py:32
Methodeditable
Create a new search path pointing to an editable installation
crates/ty_module_resolver/src/path.rs:685
Functioneditable_index_skips_nested_blanket_suppressions
()
crates/ty_python_semantic/src/suppression.rs:1010
Functioneditable_install_absolute_path
()
crates/ty_module_resolver/src/resolve.rs:2911
Functioneditable_install_absolute_path
()
crates/ty_module_resolver/src/list.rs:840
Functioneditable_install_multiple_pth_files_with_multiple_paths
()
crates/ty_module_resolver/src/resolve.rs:2985
Functioneditable_install_multiple_pth_files_with_multiple_paths
()
crates/ty_module_resolver/src/list.rs:912
Functioneditable_install_pth_file_with_whitespace
()
crates/ty_module_resolver/src/resolve.rs:2938
Functioneditable_install_pth_file_with_whitespace
()
crates/ty_module_resolver/src/list.rs:862
Functioneditable_install_relative_path
()
crates/ty_module_resolver/src/resolve.rs:2965
Functioneditable_install_relative_path
()
crates/ty_module_resolver/src/list.rs:890
Functioneditable_installs_into_first_party_search_path
()
crates/ty_module_resolver/src/list.rs:1095
Functioneditable_paths_supply_ownership_without_recorded_modules
()
crates/ty_project/src/uv/metadata/dependencies.rs:546
Methodedited_file_path
(self)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:192
Functionediting_then_moving_a_file_out_does_not_request_uv_metadata
()
crates/ty/tests/file_watching.rs:3651
Methodeditor_only
Constructs [`RuffSettings`] by merging the editor-defined settings with the default configuration.
crates/ruff_server/src/session/index/ruff_settings.rs:126
Functionedits_only_indexed_project_files
()
crates/ty_ide/src/will_rename.rs:1287
Methodelement_set
(db: &'db dyn Db, union: UnionType<'db>)
crates/ty_python_semantic/src/types/set_theoretic.rs:200
Methodelements
Append [`Element`]s that adds context to the [`Title`]
crates/ruff_annotate_snippets/src/snippet.rs:90
Methodelements
(&self)
crates/ruff_formatter/src/formatter.rs:225
Functionelide_header
()
crates/ruff_annotate_snippets/tests/examples.rs:18
Functionelif1
(x, y, w, z)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET508.py:141
Functionelif2
(x, y, w, z)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET508.py:151
Functionellipsis
()
crates/ruff_python_parser/resources/valid/statement/function.py:116
Functionellipsis1
()
crates/ty_ide/src/completion.rs:6151
Functionellipsis2
()
crates/ty_ide/src/completion.rs:6165
Functionellipsis3
()
crates/ty_ide/src/completion.rs:6200
Methodellipsis_literal_expr
(self)
crates/ruff_python_ast/src/generated.rs:2508
Functionelse_body
(obj)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:308
Functionembedded_code_fences
()
crates/ty_ide/src/markup.rs:93
Functionemitter_overflow_bad_whitespace
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:5634
Methodempty
Returns a new `SearchPaths` with no search paths configured. The vendored standard library remains available.
crates/ty_module_resolver/src/resolve.rs:909
Methodempty
()
crates/ty_module_resolver/src/module_glob.rs:63
Methodempty
()
crates/ty_module_resolver/src/settings.rs:45
Methodempty
()
crates/ruff_formatter/src/lib.rs:541
Methodempty
()
crates/ruff_python_formatter/src/comments/mod.rs:233
Methodempty
Create an empty `Cache`.
crates/ruff/src/cache.rs:136
Methodempty
(offset: TextSize)
crates/ruff_text_size/src/range.rs:87
Methodempty
()
crates/ruff_python_ast/src/name.rs:50
Methodempty
Construct a new [`FStringFlags`] with **no flags set**. See [`FStringFlags::with_quote_style`], [`FStringFlags::with_triple_quotes`], and [`FStringFl
crates/ruff_python_ast/src/nodes.rs:1122
Methodempty
(vendored: &VendoredFileSystem)
crates/ty_python_core/src/program.rs:71
Methodempty
()
crates/ruff_unicode_names2/src/iter_str.rs:12
Methodempty
Creates an empty notebook with a single code cell.
crates/ruff_notebook/src/notebook.rs:198
Methodempty
()
crates/ty_ide/src/lib.rs:235
Methodempty
An empty scope for importing a name that is already known to be unbound. This avoids querying inferred types while constructing a diagnostic fix.
crates/ty_python_semantic/src/importer.rs:546
Methodempty
Create an empty parameter list.
crates/ty_python_semantic/src/types/signatures.rs:5212
Methodempty
(db: &'db dyn Db, env: &ProgramEnvironment<'db>)
crates/ty_python_semantic/src/types/protocol_class.rs:831
Methodempty
(db: &'db dyn Db, env: &ProgramEnvironment<'db>)
crates/ty_python_semantic/src/types/tuple.rs:195
Methodempty
()
crates/ty_python_semantic/src/types/enums.rs:520
Methodempty
Returns an empty rule set.
crates/ruff_linter/src/registry/rule_set.rs:23
Methodempty
Creates a new empty rule table.
crates/ruff_linter/src/settings/rule_table.rs:18
← previousnext →18,101–18,200 of 31,562, ranked by callers