Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,562 in github.com/astral-sh/ruff
⨍
Functions
31,562
◇
Types & classes
7,116
↳
Endpoints
82
Function
quoted
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:36
Function
quoted_async
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:41
Function
quoted_escape
(x: "'in\x74'")
crates/ruff_linter/resources/test/fixtures/flake8_annotations/annotation_presence.py:172
Function
quoted_literal_blocks_are_preformatted_blocks
()
crates/ty_ide/src/docstring/document/rst.rs:1083
Function
quoted_parenthesized_item
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:68
Function
quoted_type_cast
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4270
Function
quoted_type_cast_renamed_import
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4297
Function
quoted_type_var_bound
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4321
Function
quoted_type_var_constraints
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4309
Function
quux
Some docstring.
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:35
Function
quux
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/allow_empty_first_line.py:53
Function
quux
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:26
Function
quux
(x: int, y: int)
crates/ruff_linter/resources/test/fixtures/pylint/swap_with_temporary_variable.py:45
Function
quux
(a: list = [])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_8.py:19
Method
quux
Get the quux.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:25
Function
quuz
Some docstring.
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:38
Function
quuz
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:31
Function
qux
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:21
Function
qux
(a: list = [])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_8.py:15
Method
qux
Gets the qux.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:20
Method
qux
(self)
crates/ruff_linter/resources/test/fixtures/pylint/non_slot_assignment.py:79
Function
r
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:160
Function
r
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:11
Method
rabbit
(self)
crates/ty_completion_eval/truth/object-attr-instance-methods/main.py:9
Method
raise_stmt
(self)
crates/ruff_python_ast/src/generated.rs:856
Function
raise_typing_cast_exception
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:93
Function
raises_before_args
Summary. Raises: ValueError Args: x: Description. Returns: int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:52
Function
raises_before_returns
Summary. Raises: ValueError Returns: int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:41
Method
raises_with_absolute_reference
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_0.py:39
Method
random_func
(self)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_5.py:5
Method
random_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:112
Function
random_trailing_backtick_quoted
()
crates/mdtest/src/parser.rs:2206
Method
range
(&self)
crates/ruff_python_semantic/src/nodes.rs:118
Method
range
Return the range of the member.
crates/ruff_python_semantic/src/definition.rs:124
Method
range
The range of the reference in the source code.
crates/ruff_python_semantic/src/reference.rs:112
Method
range
(&self)
crates/ruff_python_semantic/src/model/all.rs:40
Method
range
(&self)
crates/ruff_formatter/src/source_code.rs:79
Method
range
(&self)
crates/ruff_diagnostics/src/edit.rs:114
Method
range
(&self)
crates/ruff_python_formatter/src/statement/suite.rs:911
Method
range
(&self)
crates/ruff_ranged_value/src/lib.rs:200
Method
range
(&self)
crates/ruff_python_ast/src/expression.rs:29
Method
range
(&self)
crates/ruff_python_ast/src/generated.rs:28
Method
range
(&self)
crates/ruff_python_ast/src/token.rs:107
Method
range
(&self)
crates/ruff_python_parser/src/string.rs:21
Method
range
(&self)
crates/mdtest/src/assertion.rs:204
Method
range_deletion
Creates an edit that deletes the content in `range`.
crates/ruff_diagnostics/src/edit.rs:27
Function
range_end_only
()
crates/ruff/tests/cli/format.rs:2331
Function
range_format_custom_extension_mapped_to_markdown_is_unsupported
()
crates/ruff_server/tests/e2e/custom_extension.rs:49
Function
range_formatting
()
crates/ruff/tests/cli/format.rs:2148
Function
range_formatting_multiple_files
()
crates/ruff/tests/cli/format.rs:2196
Function
range_formatting_notebook
()
crates/ruff/tests/cli/format.rs:2431
Function
range_formatting_out_of_bounds
()
crates/ruff/tests/cli/format.rs:2233
Function
range_formatting_quick_test
()
crates/ruff_python_formatter/src/lib.rs:298
Function
range_formatting_unicode
()
crates/ruff/tests/cli/format.rs:2175
Function
range_line_numbers_only
()
crates/ruff/tests/cli/format.rs:2281
Function
range_missing_line
()
crates/ruff/tests/cli/format.rs:2357
Method
range_replacement
Creates an edit that replaces the content in `range` with `content`.
crates/ruff_diagnostics/src/edit.rs:41
Function
range_serialization
()
crates/ruff_text_size/tests/serde.rs:24
Function
range_start_larger_than_end
()
crates/ruff/tests/cli/format.rs:2257
Function
range_start_only
()
crates/ruff/tests/cli/format.rs:2308
Function
range_suppression_extra_disable
()
crates/ruff_linter/src/suppression.rs:1920
Function
range_suppression_two_codes
()
crates/ruff_linter/src/suppression.rs:1749
Function
range_suppression_unmatched
()
crates/ruff_linter/src/suppression.rs:1813
Function
range_suppression_unordered
()
crates/ruff_linter/src/suppression.rs:1859
Function
range_suppressions
()
crates/ruff_linter/src/rules/ruff/mod.rs:496
Method
range_to_sarif_region
(source_code: &SourceCode, range: TextRange)
crates/ruff_db/src/diagnostic/render/sarif.rs:327
Function
raw_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
Function
raw_docstring
r"""Black's `Preview.accept_raw_docstrings` a b
crates/ruff_python_formatter/resources/test/fixtures/ruff/preview.py:12
Function
raw_string
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:19
Function
re_compile_ok
(value=re.compile("foo"))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:36
Function
re_entrance
()
crates/ty_project/src/files.rs:317
Method
re_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
Method
re_lex_raw_string_in_format_spec
(&mut self)
crates/ruff_python_parser/src/token_source.rs:133
Method
re_lex_string_token_in_interpolation_element
( &mut self, kind: InterpolatedStringKind, )
crates/ruff_python_parser/src/token_source.rs:125
Function
re_runs_query_when_file_revision_changes
()
crates/ruff_db/src/source.rs:244
Function
reachability_trivial
()
crates/ty_python_core/src/lib.rs:2057
Function
reaching_definitions_distinguish_eager_and_deferred_uses
()
crates/ty_python_semantic/src/semantic_model.rs:1306
Function
reaching_definitions_distinguish_reads_from_deletion_targets
()
crates/ty_python_semantic/src/semantic_model.rs:1288
Function
reaching_definitions_expand_loop_headers
()
crates/ty_python_semantic/src/semantic_model.rs:1630
Function
reaching_definitions_follow_statement_order
()
crates/ty_python_semantic/src/semantic_model.rs:1260
Function
reaching_definitions_follow_type_dependent_deferredness
()
crates/ty_python_semantic/src/semantic_model.rs:1366
Function
reaching_definitions_preserve_deferred_uses_in_function_decorators
()
crates/ty_python_semantic/src/semantic_model.rs:1344
Function
reaching_definitions_skip_unsupported_scopes_in_string_annotations
()
crates/ty_python_semantic/src/semantic_model.rs:1417
Method
read_bits
(words: &[u64], bit: usize, bits: u8)
crates/ruff_db/src/parsed.rs:524
Function
read_comment_id
(path: str)
scripts/publish_pr_report.py:107
Function
read_directory
()
crates/ruff_db/src/system/memory_fs.rs:1073
Function
read_directory
()
crates/ruff_db/src/system/os.rs:543
Method
read_directory
( &'a self, path: &SystemPath, )
crates/ruff_db/src/system/test.rs:175
Method
read_directory
( &'a self, path: &SystemPath, )
crates/ty_wasm/src/lib.rs:1690
Function
read_directory_asyncio
()
crates/ruff_db/src/vendored.rs:659
Function
read_directory_nonexistent
()
crates/ruff_db/src/system/memory_fs.rs:1089
Function
read_directory_nonexistent
()
crates/ruff_db/src/system/os.rs:571
Function
read_directory_on_file
()
crates/ruff_db/src/system/memory_fs.rs:1098
Function
read_directory_on_file
()
crates/ruff_db/src/system/os.rs:580
Function
read_directory_stdlib
()
crates/ruff_db/src/vendored.rs:637
Function
read_fails_if_path_doesnt_exist
()
crates/ruff_db/src/system/memory_fs.rs:938
Function
read_fails_if_path_is_a_directory
()
crates/ruff_db/src/system/memory_fs.rs:925
Function
read_fails_if_virtual_path_doesnt_exit
()
crates/ruff_db/src/system/memory_fs.rs:962
Function
read_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
Function
read_html_files
(value: str)
scripts/publish_pr_report.py:37
← previous
next →
27,001–27,100 of 31,562, ranked by callers