MCPcopy Create free account

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

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

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:540
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:1135
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:201
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:547
Methodempty
Create an empty parameter list.
crates/ty_python_semantic/src/types/signatures.rs:5093
Methodempty
(db: &'db dyn Db, env: &ProgramEnvironment<'db>)
crates/ty_python_semantic/src/types/protocol_class.rs:844
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
Methodempty
()
crates/ruff_index/src/slice.rs:17
Methodempty_1
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B027.py:18
Methodempty_1
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B027.py:88
Methodempty_2
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B027.py:21
Methodempty_2
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B027.py:91
Methodempty_3
docstring
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B027.py:24
Methodempty_4
multiple ellipsis/pass
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B027.py:28
Functionempty_and_unavailable_listing
()
crates/ruff_db/src/files/directory.rs:205
Functionempty_config
()
crates/ruff_wasm/tests/api.rs:55
Functionempty_file
()
crates/ruff_python_formatter/src/comments/mod.rs:649
Functionempty_file
()
crates/mdtest/src/parser.rs:1633
Functionempty_file
()
crates/ruff_linter/src/fix/mod.rs:203
Functionempty_interpolated_string_parts
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:155
Functionempty_line
()
crates/ruff_linter/src/rules/pycodestyle/rules/logical_lines/mod.rs:651
Functionempty_lines
Helper that inserts the appropriate number of empty lines before a comment, depending on the node level: - Top-level: Up to two empty lines. - Parenth
crates/ruff_python_formatter/src/comments/format.rs:319
Functionempty_member_pyproject_ty_configuration_precedes_uv_workspace
()
crates/ty_project/src/metadata.rs:1043
Functionempty_notebook
()
crates/ruff_notebook/src/notebook.rs:550
Functionempty_raise_statement
()
crates/ty_ide/src/completion.rs:11557
Functionempty_report
()
crates/ruff_db/src/diagnostic/render/junit.rs:251
Functionempty_section_ranges_are_rejected
()
crates/ty_ide/src/docstring/markdown/structured.rs:642
Functionempty_source_qualified
()
crates/ty_ide/src/importer.rs:73
Functionempty_source_unqualified
()
crates/ty_ide/src/importer.rs:83
Functionempty_span_after_line_terminator
()
crates/ruff_db/src/diagnostic/render/full.rs:642
Functionempty_span_end_line
()
crates/ruff_annotate_snippets/tests/formatter.rs:3704
Functionempty_span_start_line
()
crates/ruff_annotate_snippets/tests/formatter.rs:3778
Functionempty_statement_reachable
()
crates/ruff_linter/resources/test/fixtures/pylint/unreachable.py:1
Functionempty_string_literal
()
crates/ruff_python_trivia_integration_tests/tests/simple_tokenizer.rs:328
Functionempty_tool_ty_disables_project_settings_and_overrides
()
crates/ty/tests/cli/scripts.rs:294
Methodempty_tuple
(db: &'db dyn Db, env: &ProgramEnvironment<'db>)
crates/ty_python_semantic/src/types/instance.rs:126
Functionempty_types_are_normalized_to_absent
()
crates/ty_ide/src/docstring/markdown/structured.rs:634
Functionempty_vec
()
crates/ruff_python_ast/src/name.rs:968
Functionempty_workspace_folders
()
crates/ty_server/tests/e2e/initialize.rs:60
Methodenable_diagnostic_dynamic_registration
(mut self, enabled: bool)
crates/ruff_server/tests/e2e/main.rs:1060
Methodenable_pull_diagnostics
(mut self, enabled: bool)
crates/ruff_server/tests/e2e/main.rs:1046
Functionenable_single_code
()
crates/ruff_linter/src/suppression.rs:2809
Methodenable_workspace_configuration
(mut self, enabled: bool)
crates/ruff_server/tests/e2e/main.rs:1092
Methodenabled
()
crates/ty/src/printer.rs:121
Methodenabled
( &self, meta: &tracing::Metadata<'_>, _: &tracing_subscriber::layer::Context<'_, S>,
crates/ty_server/src/logging.rs:126
Methodenabled
( &self, meta: &tracing::Metadata<'_>, _: &tracing_subscriber::layer::Context<'_, S>,
crates/ruff_server/src/logging.rs:119
Methodenabled
Returns an iterator over all enabled lints.
crates/ty_python_semantic/src/lint.rs:642
Functionenclosing_classes_follow_binding_scope
()
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:596
Functionenclosing_scope_collision
()
crates/ruff_linter/resources/test/fixtures/flake8_import_conventions/tricky.py:30
Methodend
The end offset of this item in the source text.
crates/ruff_text_size/src/traits.rs:51
Methodend_bound
(&self)
crates/ruff_text_size/src/range.rs:525
Functionend_of_file
()
crates/ruff_db/src/diagnostic/render/full.rs:1033
Functionend_of_file
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:326
Methodend_of_statement
Create an [`Insertion`] to insert (e.g.) an import after the end of the given [`Stmt`], along with a prefix and suffix to use for the insertion. For
crates/ruff_python_importer/src/insertion.rs:142
Methodend_tag
(&self, kind: TagKind)
crates/ruff_formatter/src/format_element.rs:293
Functionends_in_quote
Sum\\mary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D300.py:5
Functionends_indented_parameter_section_at_aligned_prose
()
crates/ty_ide/src/docstring/document/google.rs:1131
Functionends_indented_parameter_section_at_inline_section_header
()
crates/ty_ide/src/docstring/document/google.rs:1143
Functionends_on_col0
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:11
Functionends_on_col2
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:48
Functionends_parameter_section_at_structured_section_header
()
crates/ty_ide/src/docstring/document/google.rs:1107
Functionends_parameters_before_preformatted_block
()
crates/ty_ide/src/docstring/document/numpy.rs:1252
Functionends_populated_return_section_at_aligned_prose
()
crates/ty_ide/src/docstring/document/google.rs:1555
Functionends_unindented_parameter_section_at_aligned_prose
()
crates/ty_ide/src/docstring/document/google.rs:1119
Functionends_unindented_parameter_section_at_inline_section_header
()
crates/ty_ide/src/docstring/document/google.rs:1156
Functionendswith
Whitespace at the end.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:287
Functionendswith_quote
Whitespace at the end, but also a quote"
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:580
Functionenforce_variadic_names
()
crates/ruff_linter/src/rules/flake8_unused_arguments/mod.rs:53
Functionensure_all_examples_have_tests
()
crates/ruff_annotate_snippets/tests/examples.rs:99
Functionensure_newline_count_correct
()
crates/ruff_annotate_snippets/src/renderer/render.rs:2887
Functionensure_output_replacements_is_sorted
The [`OUTPUT_REPLACEMENTS`] array must be sorted (for binary search to work) and must contain no duplicate entries
crates/ruff_annotate_snippets/src/renderer/render.rs:2877
Methodensure_parent_directory
(path: &Path)
crates/ty/tests/common/mod.rs:105
Methodensure_parent_directory
Ensures that the parent directory of a path exists.
crates/ruff/tests/cli/main.rs:131
Methodenter_node
(&mut self, node: AnyNodeRef<'a>)
crates/ruff_python_ast_integration_tests/tests/source_order.rs:186
Methodenter_node
(&mut self, node: AnyNodeRef<'a>)
crates/ruff_python_formatter/src/comments/mod.rs:419
Methodenter_node
(&mut self, node: AnyNodeRef<'a>)
crates/ruff_python_ast/src/find_node.rs:22
Methodenter_node
(&mut self, node: AnyNodeRef<'ast>)
crates/ruff_python_parser/tests/fixtures.rs:509
Methodenter_node
(&mut self, node: AnyNodeRef<'_>)
crates/ty_ide/src/semantic_tokens.rs:819
Methodenter_node
(&mut self, node: AnyNodeRef<'a>)
crates/ty_ide/src/folding_range.rs:588
Methodenter_node
(&mut self, node: AnyNodeRef<'a>)
crates/ty_ide/src/references.rs:606
Methodenter_node
(&mut self, node: AnyNodeRef<'a>)
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:227
Methodenter_node
(&mut self, node: AnyNodeRef<'a>)
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:218
Methodenter_node
(&mut self, node: AnyNodeRef<'ast>)
crates/ruff_linter/src/rules/ruff/rules/suppression_comment_visitor.rs:70
Methodenter_node
(&mut self, _node: AnyNodeRef<'a>)
crates/ruff_linter/src/rules/ruff/rules/unused_async.rs:64
Methodentry_to_out_of_order
( entry: &'a mut Entry, parts: &[V], out_of_order: &mut Vec<Vec<V>>, )
crates/ruff_python_formatter/src/comments/map.rs:183
Functionentrypoint
()
python/ruff-ecosystem/ruff_ecosystem/cli.py:33
Functionenum_attributes
()
crates/ty_ide/src/completion.rs:5269
Methodenum_literal
Create a promotable enum literal.
crates/ty_python_semantic/src/types.rs:3412
← previousnext →18,301–18,400 of 31,766, ranked by callers