MCPcopy Create free account

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

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

Functionquoted
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:36
Functionquoted_async
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:41
Functionquoted_escape
(x: "'in\x74'")
crates/ruff_linter/resources/test/fixtures/flake8_annotations/annotation_presence.py:172
Functionquoted_literal_blocks_are_preformatted_blocks
()
crates/ty_ide/src/docstring/document/rst.rs:1083
Functionquoted_parenthesized_item
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:68
Functionquoted_type_cast
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4270
Functionquoted_type_cast_renamed_import
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4297
Functionquoted_type_var_bound
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4321
Functionquoted_type_var_constraints
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4309
Functionquux
Some docstring.
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:35
Functionquux
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/allow_empty_first_line.py:53
Functionquux
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:26
Functionquux
(x: int, y: int)
crates/ruff_linter/resources/test/fixtures/pylint/swap_with_temporary_variable.py:45
Functionquux
(a: list = [])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_8.py:19
Methodquux
Get the quux.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:25
Functionquuz
Some docstring.
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:38
Functionquuz
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:31
Functionqux
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:21
Functionqux
(a: list = [])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_8.py:15
Methodqux
Gets the qux.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:20
Methodqux
(self)
crates/ruff_linter/resources/test/fixtures/pylint/non_slot_assignment.py:79
Functionr
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:160
Functionr
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:11
Methodrabbit
(self)
crates/ty_completion_eval/truth/object-attr-instance-methods/main.py:9
Methodraise_stmt
(self)
crates/ruff_python_ast/src/generated.rs:856
Functionraise_typing_cast_exception
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:93
Functionraises_before_args
Summary. Raises: ValueError Args: x: Description. Returns: int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:52
Functionraises_before_returns
Summary. Raises: ValueError Returns: int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:41
Methodraises_with_absolute_reference
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_0.py:39
Methodrandom_func
(self)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_5.py:5
Methodrandom_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:112
Functionrandom_trailing_backtick_quoted
()
crates/mdtest/src/parser.rs:2206
Methodrange
(&self)
crates/ruff_python_semantic/src/nodes.rs:118
Methodrange
Return the range of the member.
crates/ruff_python_semantic/src/definition.rs:124
Methodrange
The range of the reference in the source code.
crates/ruff_python_semantic/src/reference.rs:112
Methodrange
(&self)
crates/ruff_python_semantic/src/model/all.rs:40
Methodrange
(&self)
crates/ruff_formatter/src/source_code.rs:79
Methodrange
(&self)
crates/ruff_diagnostics/src/edit.rs:114
Methodrange
(&self)
crates/ruff_python_formatter/src/statement/suite.rs:911
Methodrange
(&self)
crates/ruff_ranged_value/src/lib.rs:200
Methodrange
(&self)
crates/ruff_python_ast/src/expression.rs:29
Methodrange
(&self)
crates/ruff_python_ast/src/generated.rs:28
Methodrange
(&self)
crates/ruff_python_ast/src/token.rs:107
Methodrange
(&self)
crates/ruff_python_parser/src/string.rs:21
Methodrange
(&self)
crates/mdtest/src/assertion.rs:204
Methodrange_deletion
Creates an edit that deletes the content in `range`.
crates/ruff_diagnostics/src/edit.rs:27
Functionrange_end_only
()
crates/ruff/tests/cli/format.rs:2331
Functionrange_format_custom_extension_mapped_to_markdown_is_unsupported
()
crates/ruff_server/tests/e2e/custom_extension.rs:49
Functionrange_formatting
()
crates/ruff/tests/cli/format.rs:2148
Functionrange_formatting_multiple_files
()
crates/ruff/tests/cli/format.rs:2196
Functionrange_formatting_notebook
()
crates/ruff/tests/cli/format.rs:2431
Functionrange_formatting_out_of_bounds
()
crates/ruff/tests/cli/format.rs:2233
Functionrange_formatting_quick_test
()
crates/ruff_python_formatter/src/lib.rs:298
Functionrange_formatting_unicode
()
crates/ruff/tests/cli/format.rs:2175
Functionrange_line_numbers_only
()
crates/ruff/tests/cli/format.rs:2281
Functionrange_missing_line
()
crates/ruff/tests/cli/format.rs:2357
Methodrange_replacement
Creates an edit that replaces the content in `range` with `content`.
crates/ruff_diagnostics/src/edit.rs:41
Functionrange_serialization
()
crates/ruff_text_size/tests/serde.rs:24
Functionrange_start_larger_than_end
()
crates/ruff/tests/cli/format.rs:2257
Functionrange_start_only
()
crates/ruff/tests/cli/format.rs:2308
Functionrange_suppression_extra_disable
()
crates/ruff_linter/src/suppression.rs:1920
Functionrange_suppression_two_codes
()
crates/ruff_linter/src/suppression.rs:1749
Functionrange_suppression_unmatched
()
crates/ruff_linter/src/suppression.rs:1813
Functionrange_suppression_unordered
()
crates/ruff_linter/src/suppression.rs:1859
Functionrange_suppressions
()
crates/ruff_linter/src/rules/ruff/mod.rs:496
Methodrange_to_sarif_region
(source_code: &SourceCode, range: TextRange)
crates/ruff_db/src/diagnostic/render/sarif.rs:327
Functionraw_contents
Strip the leading and trailing quotes from a string. Assumes that the string is a valid string literal, but does not verify that the string is a "simp
crates/ruff_python_ast/src/str.rs:268
Functionraw_docstring
r"""Black's `Preview.accept_raw_docstrings` a b
crates/ruff_python_formatter/resources/test/fixtures/ruff/preview.py:12
Functionraw_string
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:19
Functionre_compile_ok
(value=re.compile("foo"))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:36
Functionre_entrance
()
crates/ty_project/src/files.rs:317
Methodre_lex_logical_token
Calls the underlying [`re_lex_logical_token`] method on the lexer with the new lexer position and updates the token vector accordingly. [`re_lex_logi
crates/ruff_python_parser/src/token_source.rs:68
Methodre_lex_raw_string_in_format_spec
(&mut self)
crates/ruff_python_parser/src/token_source.rs:133
Methodre_lex_string_token_in_interpolation_element
( &mut self, kind: InterpolatedStringKind, )
crates/ruff_python_parser/src/token_source.rs:125
Functionre_runs_query_when_file_revision_changes
()
crates/ruff_db/src/source.rs:244
Functionreachability_trivial
()
crates/ty_python_core/src/lib.rs:2057
Functionreaching_definitions_distinguish_eager_and_deferred_uses
()
crates/ty_python_semantic/src/semantic_model.rs:1306
Functionreaching_definitions_distinguish_reads_from_deletion_targets
()
crates/ty_python_semantic/src/semantic_model.rs:1288
Functionreaching_definitions_expand_loop_headers
()
crates/ty_python_semantic/src/semantic_model.rs:1630
Functionreaching_definitions_follow_statement_order
()
crates/ty_python_semantic/src/semantic_model.rs:1260
Functionreaching_definitions_follow_type_dependent_deferredness
()
crates/ty_python_semantic/src/semantic_model.rs:1366
Functionreaching_definitions_preserve_deferred_uses_in_function_decorators
()
crates/ty_python_semantic/src/semantic_model.rs:1344
Functionreaching_definitions_skip_unsupported_scopes_in_string_annotations
()
crates/ty_python_semantic/src/semantic_model.rs:1417
Methodread_bits
(words: &[u64], bit: usize, bits: u8)
crates/ruff_db/src/parsed.rs:524
Functionread_comment_id
(path: str)
scripts/publish_pr_report.py:107
Functionread_directory
()
crates/ruff_db/src/system/memory_fs.rs:1073
Functionread_directory
()
crates/ruff_db/src/system/os.rs:543
Methodread_directory
( &'a self, path: &SystemPath, )
crates/ruff_db/src/system/test.rs:175
Methodread_directory
( &'a self, path: &SystemPath, )
crates/ty_wasm/src/lib.rs:1690
Functionread_directory_asyncio
()
crates/ruff_db/src/vendored.rs:659
Functionread_directory_nonexistent
()
crates/ruff_db/src/system/memory_fs.rs:1089
Functionread_directory_nonexistent
()
crates/ruff_db/src/system/os.rs:571
Functionread_directory_on_file
()
crates/ruff_db/src/system/memory_fs.rs:1098
Functionread_directory_on_file
()
crates/ruff_db/src/system/os.rs:580
Functionread_directory_stdlib
()
crates/ruff_db/src/vendored.rs:637
Functionread_fails_if_path_doesnt_exist
()
crates/ruff_db/src/system/memory_fs.rs:938
Functionread_fails_if_path_is_a_directory
()
crates/ruff_db/src/system/memory_fs.rs:925
Functionread_fails_if_virtual_path_doesnt_exit
()
crates/ruff_db/src/system/memory_fs.rs:962
Functionread_html
r""" Read HTML tables into a ``list`` of ``DataFrame`` objects. Parameters ---------- io : str, path object, or file-like object
crates/ruff_server/resources/test/fixtures/pandas_html.py:1024
Functionread_html_files
(value: str)
scripts/publish_pr_report.py:37
← previousnext →27,001–27,100 of 31,562, ranked by callers