MCPcopy Create free account

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

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

Functionsdk_two_non_empty_returns
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004_sdk.py:19
Functionsdk_two_returns_one_non_empty
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004_sdk.py:10
Functionsearch_path
()
crates/ty/tests/file_watching.rs:1552
Functionsearch_root_registration
()
crates/ty_project/src/db.rs:1110
Functionsecond
(var: tuple[_T])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP049_0.py:10
FunctionsecondToTime
(s0: int)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM222.py:157
Methodsecondary
Create a "secondary" annotation. A secondary annotation is meant to highlight relevant context for a diagnostic, but not to point to the "locus" of t
crates/ruff_db/src/diagnostic/mod.rs:807
Functionsecondary_only_sub_diagnostic_annotations_have_messages_and_locations
()
crates/ty_wasm/tests/api.rs:416
Functionsecondary_title_custom_level_text
()
crates/ruff_annotate_snippets/tests/formatter.rs:3484
Functionsecondary_title_no_level_text
()
crates/ruff_annotate_snippets/tests/formatter.rs:3423
Functionsection
(parsed: numpy::Section)
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:13
Functionsection
(parsed: google::Section)
crates/ty_ide/src/docstring/markdown/structured/google.rs:12
Functionsection_directive_must_appear_before_config
()
crates/mdtest/src/parser.rs:2313
Functionsection_directive_must_appear_before_embedded_files
()
crates/mdtest/src/parser.rs:2340
Functionsection_items_escape_bold_names
()
crates/ty_ide/src/docstring/markdown/structured.rs:657
Functionsection_items_keep_block_descriptions_in_block_context
()
crates/ty_ide/src/docstring/markdown/structured.rs:797
Functionsection_items_normalize_source_markup_in_types
()
crates/ty_ide/src/docstring/markdown/structured.rs:694
Functionsection_items_preserve_non_interrupting_ordered_list_markers
()
crates/ty_ide/src/docstring/markdown/structured.rs:856
Functionsection_items_remove_rest_roles_from_types
()
crates/ty_ide/src/docstring/markdown/structured.rs:731
Functionsection_name_in_first_line
Returns ------- A value of some sort.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:195
Functionsection_names_as_parameter_names
Toggle the gizmo. Parameters ---------- notes : list A list of wonderful notes. examples: list A list of horrible exa
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:245
Functionsection_names_round_trip
()
crates/ruff_linter/src/docstrings/sections.rs:593
Functionsection_order
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:1609
Functionsection_overindented
Toggle the gizmo. Returns ------- A value of some sort.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:143
Functionsection_underline_overindented
Toggle the gizmo. Returns ------- A value of some sort.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:155
Functionsection_underline_overindented_and_contentless
Toggle the gizmo. Returns -------
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:169
Functionsections
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:1576
Functionsections_render_in_canonical_order
()
crates/ty_ide/src/docstring/markdown/structured.rs:555
Functionselect_all_preview
()
crates/ruff_workspace/src/configuration.rs:2041
Functionselect_code_ignore_code
()
crates/ruff_workspace/src/configuration.rs:1922
Functionselect_code_ignore_prefix
()
crates/ruff_workspace/src/configuration.rs:1907
Functionselect_data
This function has an argument `args`, which shouldn't be mistaken for a section. Args: query: Query template. args:
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:155
Functionselect_docstring_convention_override
()
crates/ruff_workspace/src/configuration.rs:2175
Functionselect_linter
()
crates/ruff_workspace/src/configuration.rs:1806
Functionselect_linter_preview
()
crates/ruff_workspace/src/configuration.rs:2070
Functionselect_one_char_prefix
()
crates/ruff_workspace/src/configuration.rs:1850
Functionselect_prefix_ignore_code
()
crates/ruff_workspace/src/configuration.rs:1886
Functionselect_prefix_ignore_code_then_extend_select_code
()
crates/ruff_workspace/src/configuration.rs:1937
Functionselect_prefix_ignore_code_then_extend_select_code_ignore_prefix
()
crates/ruff_workspace/src/configuration.rs:1965
Functionselect_prefix_preview
()
crates/ruff_workspace/src/configuration.rs:2100
Functionselect_rule_preview
()
crates/ruff_workspace/src/configuration.rs:2130
Functionselect_two_char_prefix
()
crates/ruff_workspace/src/configuration.rs:1872
Methodselected_path
(&self)
crates/ty_site_packages/src/lib.rs:2067
Functionselected_workspace_member_excludes_nested_member
()
crates/ty/tests/cli/uv_workspace.rs:616
Methodselection_range
(&self)
crates/ty_ide/src/selection_range.rs:437
Functionselection_range_bytes_literal
()
crates/ty_ide/src/selection_range.rs:376
Functionselection_range_class_definition
()
crates/ty_ide/src/selection_range.rs:244
Functionselection_range_deeply_nested_expression
()
crates/ty_ide/src/selection_range.rs:284
Functionselection_range_empty_string_literal
()
crates/ty_ide/src/selection_range.rs:348
Functionselection_range_function_call
()
crates/ty_ide/src/selection_range.rs:111
Functionselection_range_function_definition
()
crates/ty_ide/src/selection_range.rs:207
Functionselection_range_invalid_bytes_literal
()
crates/ty_ide/src/selection_range.rs:410
Functionselection_range_recovered_invalid_string_literal
()
crates/ty_ide/src/selection_range.rs:185
Functionselection_range_simple_expression
()
crates/ty_ide/src/selection_range.rs:71
Functionselection_range_string_literal_prefix
()
crates/ty_ide/src/selection_range.rs:157
Functionselectively_reuses_cached_results
()
crates/ty_python_semantic/src/types/cyclic.rs:1690
Functionselects_the_correct_workspace_settings_for_multi_root_workspaces
()
crates/ruff_server/tests/e2e/workspace.rs:9
Methodself_as_argument
(this, self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:98
Methodself_as_kw_only_argument
(this, *, self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:104
Methodself_as_kwargs
(this, **self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:110
Methodself_as_pos_only_argument
(this, self, /)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:101
Methodself_as_varargs
(this, *self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:107
Functionself_attribute_expression
()
crates/ty_ide/src/semantic_tokens.rs:4738
Functionself_documenting_fstring
()
crates/ruff_python_codegen/src/generator.rs:2000
Functionsemantic_classification_vs_heuristic
()
crates/ty_ide/src/semantic_tokens.rs:2004
Functionsemantic_lookup_creates_a_stable_default_environment
()
crates/ty_project/src/uv/environments.rs:971
Functionsemantic_syntax_errors
()
crates/ruff/tests/cli/lint.rs:4420
Methodsemantic_tokens
(&self, file_id: &FileHandle)
crates/ty_wasm/src/lib.rs:637
Functionsemantic_tokens_aliased_classmethod_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1923
Functionsemantic_tokens_aliased_staticmethod_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1898
Functionsemantic_tokens_annotated_metadata
()
crates/ty_ide/src/semantic_tokens.rs:1637
Functionsemantic_tokens_basic
()
crates/ty_ide/src/semantic_tokens.rs:1404
Functionsemantic_tokens_class
()
crates/ty_ide/src/semantic_tokens.rs:1616
Functionsemantic_tokens_class_args
()
crates/ty_ide/src/semantic_tokens.rs:1625
Functionsemantic_tokens_cls_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1854
Functionsemantic_tokens_custom_self_cls_names
()
crates/ty_ide/src/semantic_tokens.rs:1948
Functionsemantic_tokens_for_cell_do_not_leak_stringified_annotations
()
crates/ty_server/tests/e2e/notebook.rs:280
Functionsemantic_tokens_ignore_failed_bindings_for_type_form_arguments
()
crates/ty_ide/src/semantic_tokens.rs:3440
Methodsemantic_tokens_in_range
( &self, file_id: &FileHandle, range: Range, )
crates/ty_wasm/src/lib.rs:657
Functionsemantic_tokens_legacy_paramspec
()
crates/ty_ide/src/semantic_tokens.rs:1772
Functionsemantic_tokens_legacy_typevar
()
crates/ty_ide/src/semantic_tokens.rs:1742
Functionsemantic_tokens_match_class_pattern_keyword_before_positional
()
crates/ty_ide/src/semantic_tokens.rs:1667
Functionsemantic_tokens_match_mapping_pattern_rest_before_keys
()
crates/ty_ide/src/semantic_tokens.rs:1700
Functionsemantic_tokens_modifiers
()
crates/ty_ide/src/semantic_tokens.rs:1983
Functionsemantic_tokens_range
()
crates/ty_ide/src/semantic_tokens.rs:2133
Functionsemantic_tokens_range_excludes_boundary_tokens
()
crates/ty_ide/src/semantic_tokens.rs:2198
Functionsemantic_tokens_self_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1823
Functionsemantic_tokens_staticmethod_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1877
Functionsemantic_tokens_variables
()
crates/ty_ide/src/semantic_tokens.rs:1723
Functionsemantic_tokens_walrus
()
crates/ty_ide/src/semantic_tokens.rs:1804
Functionsend
Send a message. Args: payload: The message payload. attributes: Additional attributes to be sent al
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:185
Methodsend_deferred_request
Sends a request of kind `R` to the client, with associated parameters. The request isn't sent immediately, but rather queued up in the main loop. The
crates/ty_server/src/session/client.rs:61
Functionsend_email
Sends an email to the specified recipients. Args: subject (str): The subject of the email. body (str): The content of the em
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_google.py:87
Functionsend_email
Sends an email to the specified recipients. Parameters ---------- subject : str The subject of the email. body : str
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:114
Methodsend_help
|coro| Shows the help command for the specified entity if given. The entity can be a command or a cog. If no entity is given
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:314
Methodsend_notification
Sends a notification to the client.
crates/ty_server/src/session/client.rs:99
Methodsend_notification
Send a notification to the server.
crates/ty_server/tests/e2e/main.rs:418
Methodsend_notification
Sends a notification to the client.
crates/ruff_server/src/session/client.rs:95
Methodsend_notification
Send a notification to the server.
crates/ruff_server/tests/e2e/main.rs:355
Methodsend_notification_no_params
(&self, method: &str)
crates/ty_server/src/session/client.rs:138
← previousnext →28,301–28,400 of 31,766, ranked by callers