MCPcopy Create free account

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

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

Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/ruff/mod.rs:799
Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:102
Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_pytest_style/mod.rs:398
Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_bandit/mod.rs:108
Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pygrep_hooks/mod.rs:35
Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pylint/mod.rs:268
Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_bugbear/mod.rs:100
Functionpreview_rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:269
Functionpreview_rules_py37
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/ruff/mod.rs:810
Functionpreview_rules_py38
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/ruff/mod.rs:827
Functionpreview_with_fa100
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:149
Functionpreview_with_fa100_and_future_annotations_py310
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:214
Functionpreview_with_fa100_no_future_annotations_setting
( rule_code: Rule, path: &Path, )
crates/ruff_linter/src/rules/pyupgrade/mod.rs:181
Methodprevious
(&self)
crates/ruff_python_parser/src/lexer/cursor.rs:36
Functionprimary_annotation
( start_location: Location, end_location: Location, )
crates/ruff_wasm/tests/api.rs:31
Functionprimary_diagnostic_annotations_preserve_order
()
crates/ty_wasm/tests/api.rs:376
Functionprimitive_reprs_should_have_correct_length
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1292
Methodprint_color
(self)
crates/ruff_linter/resources/test/fixtures/pylint/self_or_cls_assignment.py:16
Functionprint_fifth_word
(word: typing_extensions.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:28
Functionprint_fourth_word
(word: Goodbye)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:19
Functionprint_log
(*args)
crates/ruff_linter/resources/test/fixtures/refurb/FURB163.py:78
Functionprint_name
(name: str)
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:25
Functionprint_name
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F405.py:4
Functionprint_num
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:49
Functionprint_python_version
()
crates/ruff_linter/resources/test/fixtures/pylint/useless_return.py:4
Methodprint_python_version
(self)
crates/ruff_linter/resources/test/fixtures/pylint/useless_return.py:20
Functionprint_second_word
(word: typing.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:11
Functionprint_seventh_word
(word: TextAlias)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:36
Functionprint_sixth_word
(word: TypingExt.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:32
Functionprint_third_word
(word: Hello.Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:15
Functionprint_word
(word: Text)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP019.py:7
Functionprior_line
()
crates/mdtest/src/assertion.rs:637
Functionpriority_qualified_over_partial
()
crates/ty_ide/src/importer.rs:458
Functionpriority_unqualified_over_partial
()
crates/ty_ide/src/importer.rs:441
Functionpriority_unqualified_over_qualified
()
crates/ty_ide/src/importer.rs:424
Functionpriority_unqualified_over_unqualified
()
crates/ty_ide/src/importer.rs:386
Functionpriority_unqualified_over_unqualified_between
()
crates/ty_ide/src/importer.rs:405
Functionprivate_builtin_helpers_do_not_receive_semantic_tokens
()
crates/ty_ide/src/semantic_tokens.rs:4970
Functionprivate_func
()
crates/ruff_linter/resources/test/fixtures/pydocstyle/all.py:5
Functionprivate_stub_symbols_rank_below_runtime_values
()
crates/ty_ide/src/completion.rs:3785
Functionprivate_symbols_in_module
()
crates/ty_ide/src/completion.rs:3847
Functionprivate_symbols_in_stub
()
crates/ty_ide/src/completion.rs:3685
Functionprocess_board_action
( payload: WildValue, action_type: Optional[str] )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_annotation.py:191
Functionprocess_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
Functionprocess_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
Functionprocess_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
Functionprocess_path
Convert arg to array or leaves it as sparse matrix.
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/singledispatch.py:40
Methodprocess_path
Convert arg to array or leaves it as sparse matrix.
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/singledispatchmethod.py:26
Methodprocess_pending_diagnostics
( key: Option<TextRange>, grouped_diagnostic: Option<&(TextRange, SuppressionDiagnosti
crates/ruff_linter/src/suppression.rs:473
Functionprocess_record
(record: R)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC004_15.py:13
Functionprocess_record
(record: R)
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_19.py:16
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:183
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:96
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/unpack.rs:79
Methodprogram
Salsa-cached because interning a program requires hashing all search paths.
crates/ty_python_core/src/db.rs:20
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/statement.rs:72
Methodprogram
(self, db: &'db dyn Db)
crates/ty_python_core/src/predicate.rs:341
Methodprogram_environment
(&self)
crates/ty_python_semantic/src/types/tuple/promotion.rs:38
Methodprogram_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:179
Methodprogram_file
(self, db: &'db dyn Db)
crates/ty_python_core/src/definition.rs:92
Methodprogram_file
(&self)
crates/ty_python_semantic/src/types/context.rs:205
Functionprogram_file_changes_with_python_version
()
crates/ty_python_semantic/src/types/infer/tests.rs:168
Methodprogram_inner
(db: &dyn TestProgramDb)
crates/ty_python_core/src/db.rs:25
Methodprogram_settings
(&self)
crates/ty_python_semantic/tests/corpus.rs:207
Methodprogram_settings
(&self)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:161
Methodprogress
(self: BaseOwnedBadge[PartialApp])
crates/ty_python_semantic/resources/corpus/recursive_bound_method_source_order.py:22
Functionprogress_notification
(message: Message)
crates/ty_server/src/server/script_progress.rs:216
Methodproject
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, ty: Type<'db>,
crates/ty_python_semantic/src/types/type_form.rs:46
Methodproject_changed
Returns `true` if the project structure has changed.
crates/ty_project/src/db/changes.rs:25
Functionproject_directory_brackets_do_not_act_as_glob_syntax
()
crates/ty/tests/cli/file_selection.rs:454
Functionproject_fixtures_shadow_installed_core_plugins
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:4085
Functionproject_refresh_applies_settings_despite_uv_errors
()
crates/ty/tests/file_watching.rs:3341
Functionproject_refresh_reports_progress_and_clears_errors
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:1037
Functionproject_reload_preserves_fallback_options
()
crates/ty/tests/file_watching.rs:3039
Functionproject_reload_preserves_override_options
()
crates/ty/tests/file_watching.rs:3006
Functionproject_requires_python_overrides_user_target_version
()
crates/ruff_workspace/src/resolver.rs:1186
Functionproject_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
Functionproject_with_invalid_pyproject
()
crates/ty_project/src/metadata.rs:778
Functionproject_with_pyproject
()
crates/ty_project/src/metadata.rs:732
Functionproject_with_ty_and_pyproject_toml
()
crates/ty_project/src/metadata.rs:1744
Functionproject_without_pyproject
()
crates/ty_project/src/metadata.rs:701
Functionprojected_constraint_source_order_is_independent_of_allocation_order
()
crates/ty_python_semantic/src/types/constraints.rs:7406
Methodpromotable
Creates a literal value that may be promoted.
crates/ty_python_semantic/src/types/literal.rs:140
Methodpromote_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
Functionpromoting_solutions_preserves_completeness
()
crates/ty_python_semantic/src/types/constraints.rs:5963
Functionprompts
(self, foo)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:147
Methodprop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:17
Methodprop
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:27
Methodprop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:39
Methodprop1
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:56
Methodprop2
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:39
Methodprop2
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:43
Methodprop2
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:59
Methodprop3
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:44
Methodprop3
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:63
Methodprop4
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:49
Methodprop4
(self, param)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:67
Functionprop_method
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:27
Methodpropagate_callable_kind
( db: &'d dyn Db, env: &ProgramEnvironment<'d>, ty: Type<'d>,
crates/ty_python_semantic/src/types/infer/builder.rs:5783
Methodpropagate_expands
( elements: &'a [FormatElement], enclosing: &mut Vec<Enclosing<'a>>, check
crates/ruff_formatter/src/format_element/document.rs:57
← previousnext →26,901–27,000 of 31,766, ranked by callers