MCPcopy Create free account

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

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

Functionresolves_fixture_declarations_from_stub_only_classes
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2515
Functionresolves_fixture_reexports_through_stub_only_modules
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2558
Functionresolves_fixtures_for_nested_test_classes
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2083
Functionresolves_fixtures_in_test_class_bases
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:1870
Functionresolves_imported_fixture_declarations_from_source_when_available
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2432
Functionresolves_imported_fixture_exposures
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2285
Functionresolves_installed_core_plugins_in_registration_order
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:3084
Functionresolves_same_file_fixture_declarations_and_dependencies
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:1607
Functionresource_factory
(request)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT021.py:32
Functionrespect_type_ignore_comments_is_turned_off
()
crates/ty/tests/cli/analysis_options.rs:7
Functionrespond
Sends back a response to the client, but only if the request wasn't cancelled.
crates/ty_server/src/server/api.rs:520
Functionrespond
Sends back a response to the server, but only if the request wasn't cancelled.
crates/ruff_server/src/server/api.rs:322
Methodrespond
(&mut self, request_id: RequestId, result: impl serde::Serialize)
crates/ruff_server/tests/e2e/main.rs:886
Functionresponse_files_preserve_literal_at_paths
()
crates/ty/tests/cli/file_selection.rs:1248
Functionrest_markdown_does_not_special_case_first_line_field_continuation
()
crates/ty_ide/src/docstring.rs:1327
Methodrestore
Restores a cursor from the snapshot for the given key.
crates/ty_module_resolver/src/resolve/search.rs:314
Functionrestore_consumed_stack
()
crates/ruff_formatter/src/printer/stack.rs:83
Functionrestore_partially_consumed_stack
()
crates/ruff_formatter/src/printer/stack.rs:99
Functionrestore_stack
()
crates/ruff_formatter/src/printer/stack.rs:116
Methodrestore_state_snapshot
Restore the state of the formatter to a previous snapshot
crates/ruff_formatter/src/formatter.rs:212
Functionrestoring_script_metadata_rewatches_search_path
()
crates/ty/tests/file_watching.rs:1718
Functionrestrict_to_this_line
(arg1, arg2, arg3)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_two_passes.py:9
Methodresult_id_from_hash
Computes the result ID for the filtered `diagnostics`. The result ID is `None` if there are no diagnostics or hints.
crates/ty_server/src/server/api/diagnostics.rs:44
Functionresumes_after_markdown_fence
()
crates/ty_ide/src/docstring/document/google.rs:1411
Functionresumes_after_rest_directive
()
crates/ty_ide/src/docstring/document/google.rs:1445
Functionresumes_after_rest_literal_block
()
crates/ty_ide/src/docstring/document/google.rs:1428
Functionresumes_after_unindented_markdown_fence_following_rest_literal_marker
()
crates/ty_ide/src/docstring/document/google.rs:1458
Functionretain_extra_whitespace
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative to the
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:670
Functionretain_extra_whitespace_deeper
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative to the
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:692
Functionretain_extra_whitespace_followed_by_same_offset
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative This is ove
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:701
Functionretain_extra_whitespace_multiple
Summary. This is overindented And so is this, but it we should preserve the extra space on this line relative to the
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:679
Functionretain_extra_whitespace_not_overindented
Summary. This is not overindented This is overindented, but since one line is not overindented this should not raise And so i
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:711
Functionreturn_annotation_is_class_scope_variable
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4190
Functionreturn_annotation_is_function_body_variable
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4205
Functionreturn_not_counted
()
crates/ruff_linter/src/rules/pylint/helpers.rs:594
Methodreturn_stmt
(self)
crates/ruff_python_ast/src/generated.rs:449
Functionreturn_true
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments_in_double_parens.py:32
Functionreturn_type
(arg: Optional = None)
crates/ruff_linter/resources/test/fixtures/ruff/RUF013_4.py:18
Methodreturn_type
( context: InlayHintImportContext<'_, 'db>, function: &ruff_python_ast::StmtFunctionDef,
crates/ty_ide/src/inlay_hints.rs:251
Functionreturn_type_hint_imports
()
crates/ty_ide/src/inlay_hints.rs:1256
Functionreturning_to_previous_metadata_resynchronizes_the_environment
()
crates/ty_project/src/uv/environments.rs:1106
Functionreturns_before_args
Summary. Returns: int Args: x: Description.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:30
Functionreturns_iterator
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:97
Functionreturns_list
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:154
Methodreturns_nominal_instance
Specializing a nominal return type can change a descriptor's type arguments, but it cannot turn the descriptor into an abstract function, bound method
crates/ty_python_semantic/src/types/infer/builder.rs:12268
Functionreturns_none
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:164
Functionreturns_scalar
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:149
Functionreturns_section_fragments_and_range
()
crates/ty_ide/src/docstring/document/google.rs:1525
Functionreturns_structured_section_kinds_in_source_order
()
crates/ty_ide/src/docstring/document/google.rs:1499
Functionreturns_then_unordered_then_args
Summary. Returns: int Notes: Some notes. Args: x: Description.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:146
Functionreturns_tuple
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:159
Functionreturns_value
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:73
Functionrevealed_match
()
crates/mdtest/src/matcher.rs:632
Functionrevealed_match_with_only_undefined
()
crates/mdtest/src/matcher.rs:739
Functionrevealed_match_with_undefined
()
crates/mdtest/src/matcher.rs:722
Functionrevealed_mismatch_with_undefined
()
crates/mdtest/src/matcher.rs:753
Functionrevealed_unmatched
()
crates/mdtest/src/matcher.rs:715
Functionrevealed_wrong_message
()
crates/mdtest/src/matcher.rs:692
Functionrevealed_wrong_rule
()
crates/mdtest/src/matcher.rs:669
Methodreverse_bound
(bound: Option<i32>)
crates/ty_python_semantic/src/types/tuple.rs:1550
Methodreverse_index
(index: i32)
crates/ty_python_semantic/src/types/tuple.rs:1545
Methodrevision
(&self)
crates/ruff_db/src/vendored.rs:317
Functionrevision_from_file_time
()
crates/ruff_db/src/file_revision.rs:59
Methodrewind
(&mut self, checkpoint: InterpolatedStringsCheckpoint)
crates/ruff_python_parser/src/lexer/interpolated_string.rs:151
Methodrewind
(&mut self, checkpoint: IndentationsCheckpoint)
crates/ruff_python_parser/src/lexer/indentation.rs:134
Functionrewrite_client_arrays
Function from https://github.com/zulip/zulip/blob/3da91e951cd03cfa0b9c67378224e348353f36a6/analytics/views/stats.py#L617C1-L626C25
crates/ruff_linter/resources/test/fixtures/pylint/unnecessary_dict_index_lookup.py:43
Functionrewrites_alias_names_and_preserves_asnames_in_a_plain_import
()
crates/ty_ide/src/will_rename.rs:1141
Functionrewrites_imports_for_multiple_module_renames
()
crates/ty_ide/src/will_rename.rs:1264
Functionrewrites_module_fields_and_alias_names_in_an_import_from
()
crates/ty_ide/src/will_rename.rs:1169
Functionrewrites_module_references_in_string_annotations
()
crates/ty_ide/src/will_rename.rs:1225
Functionrewrites_references_only_when_import_definitions_agree
()
crates/ty_ide/src/will_rename.rs:1353
Functionright_assoc_pow_chain_grows_stack
()
crates/ruff_python_parser/src/parser/tests.rs:479
Methodroot
()
crates/ty_module_resolver/src/resolve/search.rs:1541
Methodroot
()
crates/ruff_python_parser/src/lexer/indentation.rs:40
Methodroot
Create a [`PackageRoot::Root`] variant.
crates/ruff_linter/src/package.rs:24
Functionroot_directory_for_search_path_is_okay
()
crates/ty_module_resolver/src/list.rs:1638
Functionroot_gitignore_file_requires_repository
()
crates/ruff_db/src/system/os/ignore.rs:102
Functionroot_ignore_file_allowlist_overrides_root_gitignore_file
()
crates/ruff_db/src/system/os/ignore.rs:121
Functionroot_ignore_file_cannot_prune_deeper_file_match
()
crates/ruff_db/src/system/os/ignore.rs:150
Functionroot_ignore_file_prunes_top_level_directory
()
crates/ruff_db/src/system/os/ignore.rs:90
Functionrooted_exclusion
()
crates/ruff_workspace/src/resolver.rs:1027
Functionround_trip
Run round-trip source code generation on a given Python code.
crates/ruff_python_codegen/src/lib.rs:9
Functionround_trip
(contents: &str)
crates/ruff_python_codegen/src/generator.rs:1650
Methodrow_is_all_th
(row)
crates/ruff_server/resources/test/fixtures/pandas_html.py:455
Functionrst_directive_case_insensitive
.. cOdE-bLoCk:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:619
Functionrst_directive_doctest
.. code-block:: pycon >>> cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:661
Functionrst_directive_options
.. code-block:: python :linenos: :emphasize-lines: 2,3 :name: blah blah cool_stuff( 1 ) cool_stuff( 2 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:641
Functionrst_directive_simple
.. code-block:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:608
Functionrst_directive_skipped_doctest
.. code-block:: python >>> cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:835
Functionrst_directive_skipped_not_indented
.. code-block:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:811
Functionrst_directive_skipped_wrong_language
.. code-block:: rust cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:822
Functionrst_directive_sourcecode
.. sourcecode:: python cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:630
Functionrst_literal_actually_last
Do cool stuff:: cool_stuff( 1 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:399
Functionrst_literal_extra_blanks
Do cool stuff:: cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:423
Functionrst_literal_extra_blanks_at_end
Do cool stuff:: cool_stuff( 1 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:441
Functionrst_literal_extra_blanks_in_snippet
Do cool stuff:: cool_stuff( 1 ) cool_stuff( 2 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:456
Functionrst_literal_first_line_indent_uses_tabs_4spaces
Do cool stuff:: cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:493
Functionrst_literal_first_line_indent_uses_tabs_4spaces_multiple
Do cool stuff:: cool_stuff( 1 ) cool_stuff( 2 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:505
Functionrst_literal_first_line_indent_uses_tabs_8spaces
Do cool stuff:: cool_stuff( 1 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:524
Functionrst_literal_first_line_indent_uses_tabs_8spaces_multiple
Do cool stuff:: cool_stuff( 1 ) cool_stuff( 2 ) Done.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:536
← previousnext →27,701–27,800 of 31,562, ranked by callers