MCPcopy Create free account

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

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

Functiondocstring_multiline
R""" clear out all of the issues opened in that time :p
crates/ruff_python_formatter/resources/test/fixtures/black/cases/string_prefixes.py:17
Functiondocstring_options
()
crates/ruff/tests/cli/format.rs:308
Functiondocstring_single
single
crates/ruff_python_formatter/resources/test/fixtures/ruff/quote_style.py:49
Functiondocstring_single_triple
single triple
crates/ruff_python_formatter/resources/test/fixtures/ruff/quote_style.py:40
Functiondocstring_singleline
R"""2020 was one hell of a year. The good news is that we were able to
crates/ruff_python_formatter/resources/test/fixtures/black/cases/string_prefixes.py:13
Functiondocstring_start_in_same_line
First Line. Second Line
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:438
Methoddocstring_state
Return the current [`DocstringState`].
crates/ruff_linter/src/checkers/ast/mod.rs:689
Functiondocstring_that_ends_with_quote_and_a_line_break1
he said "the news of my death have been greatly exaggerated"
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:79
Functiondocstring_that_ends_with_quote_and_a_line_break2
he said "the news of my death have been greatly exaggerated"
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:85
Functiondocstring_that_ends_with_quote_and_a_line_break3
he said "the news of my death have been greatly exaggerated"
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:90
Functiondocstring_with_inline_tabs_and_space_indentation
hey tab separated value tab at start of line and then a tab separated value multiple tabs at the beginning and inline mixe
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:137
Functiondocstring_with_inline_tabs_and_tab_indentation
hey tab separated value tab at start of line and then a tab separated value multiple tabs at the beginning and inline mixed tabs and s
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:149
Functiondocstring_with_leading_empty_parts
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:321
Functiondocstring_with_leading_whitespace
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:315
Functiondocstring_with_trailing_empty_parts
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:324
Functiondocstring_with_trailing_whitespace
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:318
Functiondocstrings_without_structured_sections_are_rendered_as_general_content
()
crates/ty_ide/src/docstring/markdown/structured.rs:874
Functiondoctest_adjacent
Do cool stuff. >>> cool_stuff( x ) >>> cool_stuff( y ) 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:36
Functiondoctest_blank_continued
Do cool stuff. >>> def cool_stuff ( x ): ... print( x ) ... ... print( x )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:93
Functiondoctest_blank_end
Do cool stuff. >>> def cool_stuff ( x ): ... print( x ) ... print( x ) ...
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:108
Functiondoctest_blank_end_then_some_text
Do cool stuff. >>> def cool_stuff ( x ): ... print( x ) ... print( x ) ... And say something else.
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:122
Functiondoctest_extra_indent1
Docstring example containing a class. Examples -------- >>> @pl.api.register_dataframe_namespace("split") ... class SplitFrame:
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples_dynamic_line_width.py:176
Functiondoctest_extra_indent3
Pragma comment. Examples -------- >>> af1, af2, af3 = pl.align_frames( ... df1, df2, df3, on="dt" ... ) # doctest: +IGN
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples_dynamic_line_width.py:212
Functiondoctest_flush
()
crates/ty_ide/src/docstring.rs:978
Functiondoctest_indent_flush
()
crates/ty_ide/src/docstring.rs:1028
Functiondoctest_invalid_skipped_with_triple_double_in_single_quote_string
Do cool stuff. >>> x = '\"\"\"'
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:340
Functiondoctest_last_line
Do cool stuff. >>> cool_stuff( x )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:49
Functiondoctest_last_line_continued
Do cool stuff. >>> def cool_stuff( x ): ... print( f"hi {x}" );
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:60
Functiondoctest_line_ending
Do cool stuff. >>> def foo( x ): ... print( x ) ... ... print( x )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples_crlf.py:1
Functiondoctest_long_lines
Do cool stuff. This won't get wrapped even though it exceeds our configured line width because it doesn't exceed the line width within t
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:235
Functiondoctest_long_lines
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/docstring_code_examples.py:58
Functiondoctest_nested_doctest_not_formatted
Do cool stuff. >>> def nested( x ): ... """ ... Do nested cool stuff. ... >>> func_call( 5 ) ... """ .
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:196
Functiondoctest_only
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/docstring_code_examples.py:11
Functiondoctest_really_last_line
Do cool stuff. >>> cool_stuff( x )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:72
Functiondoctest_really_last_line_continued
Do cool stuff. >>> cool_stuff( x ) ... more( y )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:82
Functiondoctest_simple
Do cool stuff. >>> cool_stuff( 1 ) 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:11
Functiondoctest_simple
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/docstring_code_examples.py:1
Functiondoctest_simple
()
crates/ty_ide/src/docstring.rs:918
Functiondoctest_simple_continued
Do cool stuff. >>> def cool_stuff( x ): ... print( f"hi {x}" ); hi 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:23
Functiondoctest_simple_indent
()
crates/ty_ide/src/docstring.rs:948
Functiondoctest_skipped_fstring
f""" Do cool stuff. >>> cool_stuff( 1 ) 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:327
Functiondoctest_skipped_inconsistent_indent
Do cool stuff. >>> def cool_stuff( x ): ... print( f"hi {x}" ); hi 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:278
Functiondoctest_skipped_one_line
>>> foo( x )
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:318
Functiondoctest_skipped_partial_inconsistent_indent
Do cool stuff. >>> def cool_stuff( x ): ... print( x ) ... print( f"hi {x}" ); hi 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:292
Functiondoctest_skipped_simple
Do cool stuff. >>> cool-stuff( x ): 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:254
Functiondoctest_skipped_simple_continued
Do cool stuff. >>> def cool-stuff( x ): ... print( f"hi {x}" ); 2
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:266
Functiondoctest_skipped_triple_incorrect
Do cool stuff. >>> foo( x ) ... '''tri'''cksy'''
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:307
Functiondoctest_then_literal_block_with_blank_lines
()
crates/ty_ide/src/docstring.rs:1612
Functiondoctest_varying_start_column
Do cool stuff. >>> assert ("Easy!") >>> import math >>> math.floor( 1.9 ) 1
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:211
Functiondoctest_with_triple_escaped_double
Do cool stuff. >>> x = '''\"\"\"'''
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:160
Functiondoctest_with_triple_inverted
Do cool stuff. >>> x = """tricksy"""
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:170
Functiondoctest_with_triple_inverted_fstring
Do cool stuff. >>> x = f"""tricksy"""
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:181
Functiondoctest_with_triple_single
Do cool stuff. >>> x = '''tricksy'''
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples.py:138
Functiondoctests_take_precedence_over_markdown_fences_in_preformatted_blocks
()
crates/ty_ide/src/docstring/document/rst.rs:1138
Functiondocument_diagnostic_caching_changed
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:521
Functiondocument_diagnostic_caching_rendered_source_changed
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:590
Functiondocument_diagnostic_caching_unchanged
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:470
Functiondocument_diagnostics
(server: &mut TestServer, path: &str)
crates/ty_server/tests/e2e/closed_documents.rs:348
Methoddocument_highlights
( &self, file_id: &FileHandle, position: Position, )
crates/ty_wasm/src/lib.rs:778
Methoddocument_highlights
(&self)
crates/ty_ide/src/doc_highlights.rs:36
Methoddocument_symbols
(&self)
crates/ty_ide/src/document_symbols.rs:601
Functiondocument_symbols_augmented_assignment_targets
()
crates/ty_ide/src/document_symbols.rs:346
Functiondocument_symbols_comprehension_and_lambda_scopes
()
crates/ty_ide/src/document_symbols.rs:549
Functiondocument_symbols_function_and_class_header_bindings
()
crates/ty_ide/src/document_symbols.rs:567
Functiondocument_symbols_ignore_invalid_pattern_bindings
()
crates/ty_ide/src/document_symbols.rs:485
Functiondocument_symbols_match_pattern_bindings
()
crates/ty_ide/src/document_symbols.rs:436
Functiondocument_symbols_match_pattern_scopes
()
crates/ty_ide/src/document_symbols.rs:516
Functiondocument_symbols_reports_mapping_pattern_bindings_in_source_order
()
crates/ty_ide/src/document_symbols.rs:498
Functiondocument_symbols_store_context_targets
()
crates/ty_ide/src/document_symbols.rs:388
Functiondocument_symbols_with_statement_targets
()
crates/ty_ide/src/document_symbols.rs:268
Methoddocument_uri
(params: &DeclarationParams)
crates/ty_server/src/server/api/requests/goto_declaration.rs:21
Methoddocument_uri
(params: &DocumentSymbolParams)
crates/ty_server/src/server/api/requests/document_symbols.rs:25
Methoddocument_uri
(params: &HoverParams)
crates/ty_server/src/server/api/requests/hover.rs:21
Methoddocument_uri
(params: &DocumentHighlightParams)
crates/ty_server/src/server/api/requests/doc_highlights.rs:22
Methoddocument_uri
(params: &TypeHierarchyPrepareParams)
crates/ty_server/src/server/api/requests/prepare_type_hierarchy.rs:31
Methoddocument_uri
(params: &SemanticTokensParams)
crates/ty_server/src/server/api/requests/semantic_tokens.rs:21
Methoddocument_uri
(params: &SelectionRangeParams)
crates/ty_server/src/server/api/requests/selection_range.rs:23
Methoddocument_uri
(params: &FoldingRangeParams)
crates/ty_server/src/server/api/requests/folding_range.rs:22
Methoddocument_uri
(params: &CallHierarchyPrepareParams)
crates/ty_server/src/server/api/requests/prepare_call_hierarchy.rs:30
Methoddocument_uri
(params: &InlayHintParams)
crates/ty_server/src/server/api/requests/inlay_hints.rs:25
Methoddocument_uri
(params: &CompletionParams)
crates/ty_server/src/server/api/requests/completion.rs:33
Methoddocument_uri
(params: &TypeDefinitionParams)
crates/ty_server/src/server/api/requests/goto_type_definition.rs:22
Methoddocument_uri
(params: &PrepareRenameParams)
crates/ty_server/src/server/api/requests/prepare_rename.rs:21
Methoddocument_uri
(params: &SignatureHelpParams)
crates/ty_server/src/server/api/requests/signature_help.rs:24
Methoddocument_uri
(params: &ImplementationParams)
crates/ty_server/src/server/api/requests/goto_implementation.rs:21
Methoddocument_uri
(params: &types::CodeActionParams)
crates/ty_server/src/server/api/requests/code_action.rs:29
Methoddocument_uri
(params: &ReferenceParams)
crates/ty_server/src/server/api/requests/references.rs:22
Methoddocument_uri
(params: &DocumentDiagnosticParams)
crates/ty_server/src/server/api/requests/diagnostic.rs:26
Methoddocument_uri
(params: &SemanticTokensRangeParams)
crates/ty_server/src/server/api/requests/semantic_tokens_range.rs:21
Methoddocument_uri
(params: &DefinitionParams)
crates/ty_server/src/server/api/requests/goto_definition.rs:22
Methoddocument_uri
(params: &RenameParams)
crates/ty_server/src/server/api/requests/rename.rs:23
Methoddocument_uri
(params: &types::HoverParams)
crates/ruff_server/src/server/api/requests/hover.rs:23
Methoddocumentation
()
crates/ruff_options_metadata/src/lib.rs:19
Functiondocumentation_format
(formats: Vec<MarkupKind>)
crates/ty_server/tests/e2e/completions.rs:913
Functiondocumentation_prefers_markdown_when_listed_first
()
crates/ty_server/tests/e2e/completions.rs:878
Functiondocumentation_prefers_plain_text_when_listed_first
()
crates/ty_server/tests/e2e/completions.rs:887
Functiondocumentation_supports_only_markdown
()
crates/ty_server/tests/e2e/completions.rs:896
Functiondocumentation_supports_only_plain_text
()
crates/ty_server/tests/e2e/completions.rs:905
Functiondoes_not_add_usr_local_when_sys_prefix_is_not_usr
()
crates/ty_site_packages/src/lib.rs:3532
Functiondoes_not_convert_candidates_outside_inline_markup_boundaries
()
crates/ty_ide/src/docstring/markdown/general/inline.rs:759
← previousnext →17,901–18,000 of 31,562, ranked by callers