Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,766 in github.com/astral-sh/ruff
⨍
Functions
31,766
◇
Types & classes
7,128
↳
Endpoints
82
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:269
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:3785
Function
private_symbols_in_module
()
crates/ty_ide/src/completion.rs:3847
Function
private_symbols_in_stub
()
crates/ty_ide/src/completion.rs:3685
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
Function
process_record
(record: R)
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_19.py:16
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:183
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:96
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/unpack.rs:79
Method
program
Salsa-cached because interning a program requires hashing all search paths.
crates/ty_python_core/src/db.rs:20
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/statement.rs:72
Method
program
(self, db: &'db dyn Db)
crates/ty_python_core/src/predicate.rs:341
Method
program_environment
(&self)
crates/ty_python_semantic/src/types/tuple/promotion.rs:38
Method
program_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:179
Method
program_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:92
Method
program_file
(&self)
crates/ty_python_semantic/src/types/context.rs:205
Function
program_file_changes_with_python_version
()
crates/ty_python_semantic/src/types/infer/tests.rs:168
Method
program_inner
(db: &dyn TestProgramDb)
crates/ty_python_core/src/db.rs:25
Method
program_settings
(&self)
crates/ty_python_semantic/tests/corpus.rs:207
Method
program_settings
(&self)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:161
Method
progress
(self: BaseOwnedBadge[PartialApp])
crates/ty_python_semantic/resources/corpus/recursive_bound_method_source_order.py:22
Function
progress_notification
(message: Message)
crates/ty_server/src/server/script_progress.rs:216
Method
project
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, ty: Type<'db>,
crates/ty_python_semantic/src/types/type_form.rs:46
Method
project_changed
Returns `true` if the project structure has changed.
crates/ty_project/src/db/changes.rs:25
Function
project_directory_brackets_do_not_act_as_glob_syntax
()
crates/ty/tests/cli/file_selection.rs:454
Function
project_fixtures_shadow_installed_core_plugins
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:4085
Function
project_refresh_applies_settings_despite_uv_errors
()
crates/ty/tests/file_watching.rs:3341
Function
project_refresh_reports_progress_and_clears_errors
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:1037
Function
project_reload_preserves_fallback_options
()
crates/ty/tests/file_watching.rs:3039
Function
project_reload_preserves_override_options
()
crates/ty/tests/file_watching.rs:3006
Function
project_requires_python_overrides_user_target_version
()
crates/ruff_workspace/src/resolver.rs:1186
Function
project_setup
Set up a project and its venv once per module (shared across all tests for this project).
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:44
Function
project_with_invalid_pyproject
()
crates/ty_project/src/metadata.rs:778
Function
project_with_pyproject
()
crates/ty_project/src/metadata.rs:732
Function
project_with_ty_and_pyproject_toml
()
crates/ty_project/src/metadata.rs:1744
Function
project_without_pyproject
()
crates/ty_project/src/metadata.rs:701
Function
projected_constraint_source_order_is_independent_of_allocation_order
()
crates/ty_python_semantic/src/types/constraints.rs:7406
Method
promotable
Creates a literal value that may be promoted.
crates/ty_python_semantic/src/types/literal.rs:140
Method
promote_attribute_class_literals
Widen a class literal `<class 'C'>` to `type[C]` when this attribute read can produce a different class.
crates/ty_python_semantic/src/types.rs:6095
Function
promoting_solutions_preserves_completeness
()
crates/ty_python_semantic/src/types/constraints.rs:5963
Function
prompts
(self, foo)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:147
Method
prop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:17
Method
prop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:27
Method
prop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:39
Method
prop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:56
Method
prop2
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:39
Method
prop2
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:43
Method
prop2
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:59
Method
prop3
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:44
Method
prop3
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:63
Method
prop4
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:49
Method
prop4
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:67
Function
prop_method
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:27
Method
propagate_callable_kind
( db: &'d dyn Db, env: &ProgramEnvironment<'d>, ty: Type<'d>,
crates/ty_python_semantic/src/types/infer/builder.rs:5783
Method
propagate_expands
( elements: &'a [FormatElement], enclosing: &mut Vec<Enclosing<'a>>, check
crates/ruff_formatter/src/format_element/document.rs:57
← previous
next →
26,901–27,000 of 31,766, ranked by callers