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
preserve_invalid_type_expressions_in_annotations
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/ann_assign.py:28
Function
preserve_invalid_type_expressions_in_async_annotations
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/ann_assign.py:35
Method
preserve_long_unions
(self)
crates/ty_python_semantic/src/types/display.rs:195
Function
preserve_named_param_annotation
(x: (value := int))
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:569
Function
preserve_preformatted_field_lists
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:660
Function
preserve_space
()
crates/ruff_linter/src/rules/pyupgrade/rules/printf_string_formatting.rs:540
Function
preserve_yield_param_annotation
(x: (yield 1))
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:573
Function
preserved1
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:341
Function
preserved2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:345
Function
preserved3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:349
Function
preserved4
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:353
Function
preserved5
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:361
Function
preserved6
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:367
Function
preserved7
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:374
Function
preserved8
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:383
Function
preserves_ambiguous_namespace_owners_and_submodules
()
crates/ty_project/src/uv/metadata/dependencies.rs:467
Function
preserves_assigned_attribute_names
()
crates/ty_ide/src/will_rename.rs:1592
Function
preserves_blank_lines_in_preformatted_parameter_descriptions
()
crates/ty_ide/src/docstring/document/numpy.rs:1035
Function
preserves_conditional_imported_fixture_definitions
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2685
Function
preserves_escaped_and_unmatched_backticks_as_text
()
crates/ty_ide/src/docstring/document/syntax.rs:712
Function
preserves_existing_inline_rendering
()
crates/ty_ide/src/docstring/markdown/general/inline.rs:863
Function
preserves_explicit_fixture_name_declarations
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:3337
Function
preserves_fixture_exposure_provenance_across_imports
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:3272
Function
preserves_import_levels_in_relative_import_from_statements
()
crates/ty_ide/src/will_rename.rs:1197
Function
preserves_nested_class_paths
()
crates/ty_ide/src/pytest_test_discovery.rs:228
Function
preserves_parameter_paragraph_breaks
()
crates/ty_ide/src/docstring/document/google.rs:1068
Function
preserves_rest_literal_block_indentation_in_parameter_documentation
()
crates/ty_ide/src/docstring/document/google.rs:1270
Function
preserves_site_packages_paths_in_inline_snapshots
()
crates/mdtest/src/lib.rs:799
Function
preserves_unresolved_alias_names_in_a_plain_import
()
crates/ty_ide/src/will_rename.rs:1901
Method
preview
(&mut self, yes: bool)
crates/ruff_db/src/diagnostic/render.rs:2559
Method
preview
(since: &'static str)
crates/ty_python_semantic/src/lint.rs:206
Function
preview_confusables
()
crates/ruff_linter/src/rules/ruff/mod.rs:465
Function
preview_default_rules
()
crates/ruff_linter/src/settings/mod.rs:948
Function
preview_disabled_direct
()
crates/ruff/tests/integration_test.rs:1368
Function
preview_disabled_does_not_warn_for_empty_fixable_selections
()
crates/ruff/tests/integration_test.rs:1418
Function
preview_disabled_does_not_warn_for_empty_ignore_selections
()
crates/ruff/tests/integration_test.rs:1402
Function
preview_disabled_prefix_empty
()
crates/ruff/tests/integration_test.rs:1385
Function
preview_enabled_all
()
crates/ruff/tests/integration_test.rs:1325
Function
preview_enabled_direct
()
crates/ruff/tests/integration_test.rs:1351
Function
preview_enabled_group_ignore
()
crates/ruff/tests/integration_test.rs:1457
Function
preview_enabled_prefix
()
crates/ruff/tests/integration_test.rs:1302
Function
preview_flake8_use_pathlib
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_use_pathlib/mod.rs:153
Function
preview_group_selector
()
crates/ruff/tests/integration_test.rs:1434
Function
preview_rule_status
()
crates/ty/tests/cli/rule.rs:130
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_logging_format/mod.rs:57
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_comprehensions/mod.rs:72
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_simplify/mod.rs:63
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_pyi/mod.rs:147
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/perflint/mod.rs:37
Function
preview_rules
(path: &Path)
crates/ruff_linter/src/rules/flake8_use_pathlib/mod.rs:108
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/ruff/mod.rs:799
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:102
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_pytest_style/mod.rs:398
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_bandit/mod.rs:108
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pygrep_hooks/mod.rs:35
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pylint/mod.rs:268
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_bugbear/mod.rs:100
Function
preview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:267
Function
preview_rules_py37
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/ruff/mod.rs:810
Function
preview_rules_py38
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/ruff/mod.rs:827
Function
preview_with_fa100
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:149
Function
preview_with_fa100_and_future_annotations_py310
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:214
Function
preview_with_fa100_no_future_annotations_setting
( rule_code: Rule, path: &Path, )
crates/ruff_linter/src/rules/pyupgrade/mod.rs:181
Method
previous
(&self)
crates/ruff_python_parser/src/lexer/cursor.rs:36
Function
primary_annotation
( start_location: Location, end_location: Location, )
crates/ruff_wasm/tests/api.rs:31
Function
primary_diagnostic_annotations_preserve_order
()
crates/ty_wasm/tests/api.rs:376
Function
primitive_reprs_should_have_correct_length
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1292
Method
print_color
(self)
crates/ruff_linter/resources/test/fixtures/pylint/self_or_cls_assignment.py:16
Function
print_fifth_word
(word: typing_extensions.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:28
Function
print_fourth_word
(word: Goodbye)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:19
Function
print_log
(*args)
crates/ruff_linter/resources/test/fixtures/refurb/FURB163.py:78
Function
print_name
(name: str)
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:25
Function
print_name
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F405.py:4
Function
print_num
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:49
Function
print_python_version
()
crates/ruff_linter/resources/test/fixtures/pylint/useless_return.py:4
Method
print_python_version
(self)
crates/ruff_linter/resources/test/fixtures/pylint/useless_return.py:20
Function
print_second_word
(word: typing.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:11
Function
print_seventh_word
(word: TextAlias)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:36
Function
print_sixth_word
(word: TypingExt.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:32
Function
print_third_word
(word: Hello.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:15
Function
print_word
(word: Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:7
Function
prior_line
()
crates/mdtest/src/assertion.rs:637
Function
priority_qualified_over_partial
()
crates/ty_ide/src/importer.rs:458
Function
priority_unqualified_over_partial
()
crates/ty_ide/src/importer.rs:441
Function
priority_unqualified_over_qualified
()
crates/ty_ide/src/importer.rs:424
Function
priority_unqualified_over_unqualified
()
crates/ty_ide/src/importer.rs:386
Function
priority_unqualified_over_unqualified_between
()
crates/ty_ide/src/importer.rs:405
Function
private_builtin_helpers_do_not_receive_semantic_tokens
()
crates/ty_ide/src/semantic_tokens.rs:4970
Function
private_func
()
crates/ruff_linter/resources/test/fixtures/pydocstyle/all.py:5
Function
private_stub_symbols_rank_below_runtime_values
()
crates/ty_ide/src/completion.rs:3775
Function
private_symbols_in_module
()
crates/ty_ide/src/completion.rs:3837
Function
private_symbols_in_stub
()
crates/ty_ide/src/completion.rs:3675
Function
process_board_action
( payload: WildValue, action_type: Optional[str] )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_annotation.py:191
Function
process_data
Process data with multiple string parameters. Parameters ---------- data : list Input data to process. x1, x2 : str S
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:409
Function
process_order
Processes an order with a list of items and optional order details. Args: order_id (int): The unique identifier for the order.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_google.py:120
Function
process_order
Processes an order with a list of items and optional order details. Parameters ---------- order_id : int The unique identifi
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:160
Function
process_path
Convert arg to array or leaves it as sparse matrix.
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/singledispatch.py:40
Method
process_path
Convert arg to array or leaves it as sparse matrix.
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/singledispatchmethod.py:26
Method
process_pending_diagnostics
( key: Option<TextRange>, grouped_diagnostic: Option<&(TextRange, SuppressionDiagnosti
crates/ruff_linter/src/suppression.rs:473
Function
process_record
(record: R)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC004_15.py:13
← previous
next →
26,701–26,800 of 31,562, ranked by callers