MCPcopy Create free account

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

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

Functionrename_submodule_import_from_def
()
crates/ty_ide/src/rename.rs:1533
Functionrename_submodule_import_from_use
()
crates/ty_ide/src/rename.rs:1503
Functionrename_submodule_import_from_wrong_def
()
crates/ty_ide/src/rename.rs:1581
Functionrename_submodule_import_from_wrong_use
()
crates/ty_ide/src/rename.rs:1557
Functionrename_typeddict_field_from_keyword_argument
()
crates/ty_ide/src/rename.rs:1310
Functionrename_typevar_name_binding
()
crates/ty_ide/src/rename.rs:890
Functionrename_typevar_name_stmt
()
crates/ty_ide/src/rename.rs:873
Functionrename_typevar_spec_binding
()
crates/ty_ide/src/rename.rs:925
Functionrename_typevar_spec_stmt
()
crates/ty_ide/src/rename.rs:907
Functionrename_typevar_tuple_binding
()
crates/ty_ide/src/rename.rs:960
Functionrename_typevar_tuple_stmt
()
crates/ty_ide/src/rename.rs:943
Functionrenamed_rule_in_script_metadata
()
crates/ty/tests/cli/scripts.rs:153
Functionrenamed_rule_selector
()
crates/ruff/tests/cli/lint.rs:1398
Methodrender
( &self, level: &Level<'_>, stylesheet: &Stylesheet, str: &mut String, )
crates/ruff_annotate_snippets/src/renderer/styled_buffer.rs:43
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/grouped.rs:26
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/junit.rs:33
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/concise.rs:20
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/json_lines.rs:22
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/pylint.rs:27
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/gitlab.rs:26
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/full.rs:30
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/json.rs:30
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/sarif.rs:45
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/azure.rs:22
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/rdjson.rs:27
Methodrender
(&self, f: &mut std::fmt::Formatter, diagnostics: &[Diagnostic])
crates/ruff_db/src/diagnostic/render/github.rs:22
Functionrender_attribute_aliases
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:494
Functionrender_diagnostic
(db: &dyn Db, tool_name: &'static str, diagnostic: &Diagnostic)
crates/mdtest/src/lib.rs:329
Methodrender_diagnostics
(&self, diagnostics: &[Diagnostic])
crates/ty/tests/file_watching.rs:318
Functionrender_docstring
(source: &str)
crates/ty_ide/src/docstring/markdown/general/inline.rs:879
Functionrender_field_like_quoted_literal_blocks
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:740
Functionrender_field_names_case_insensitively
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:473
Functionrender_fragment
(source: &str)
crates/ty_ide/src/docstring/markdown/general/inline.rs:885
Functionrender_general
(raw: &str)
crates/ty_ide/src/docstring/markdown/structured/rst.rs:840
Functionrender_google
(normalized_source: &str)
crates/ty_ide/src/docstring/markdown/structured/google.rs:325
Methodrender_line
Renders a prose line, buffering a supported wrapped hyperlink when necessary.
crates/ty_ide/src/docstring/markdown/general/inline.rs:64
Functionrender_markdown
(section: &Section)
crates/ty_ide/src/docstring/markdown/structured.rs:1051
Functionrender_named_returns_and_exceptions
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:523
Functionrender_non_field_like_quoted_literal_blocks
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:772
Functionrender_numpy
(source: &str)
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:355
Functionrender_parameter_aliases_and_variadics
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:438
Functionrender_parameter_and_standalone_return_type
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:346
Functionrender_parameters_with_inline_and_supplemental_types
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:242
Functionrender_plain_docstring
(source: &str)
crates/ty_ide/src/docstring/markdown/general/inline.rs:891
Functionrender_reaching_definitions
( source: &str, name: &str, path: &str, detail: Option<ResolutionDetail>,
crates/ty_python_semantic/src/semantic_model.rs:1683
Functionrender_returns_with_supplemental_type
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:280
Functionrender_standalone_return_type
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:368
Functionrenders_aligned_parameter_continuation
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:92
Functionrenders_fenced_block_in_return_prose
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:207
Functionrenders_nested_heading_in_return_prose
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:230
Functionrenders_nested_list_in_return_prose
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:191
Functionrenders_parameter_section_preamble
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:193
Functionrenders_parameter_url_continuation
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:109
Functionrenders_parameter_windows_path_continuation
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:126
Functionrenders_parenthesized_return_names
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:237
Functionrenders_preformatted_parameter_description
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:166
Functionrenders_preformatted_parameter_descriptions
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:143
Functionrenders_return_body_as_prose
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:175
Functionrenders_return_prose_outside_the_structured_section
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:254
Functionrenders_shifted_top_level_sections
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:214
Functionrenders_supported_multiline_links
()
crates/ty_ide/src/docstring/markdown/general/inline.rs:694
Functionrenders_supported_sections
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:50
Functionrenders_supported_sections
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:46
Functionrenders_supported_single_line_links
()
crates/ty_ide/src/docstring/markdown/general/inline.rs:656
Functionrepairing_activated_environment_updates_inferred_python_version
()
crates/ty/tests/file_watching.rs:2129
Functionrepairing_default_environment_updates_inferred_python_version
()
crates/ty/tests/file_watching.rs:1985
Functionrepeated
First line. ```py class Abcdefghijklmopqrstuvwxyz(Abc, Def, Ghi, Jkl, Mno, Pqr, Stu, Vwx, Yz, A1, A2, A3, A4, A5): def abcdefghi
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_code_examples_dynamic_line_width.py:24
Functionrepeated_tuple_conditions_share_provenance
()
crates/ty_python_semantic/src/types/infer/tests.rs:791
Methodreplace
(context: ValueSourceContext)
crates/ruff_ranged_value/src/lib.rs:105
Methodreplace
(&mut self, other: Self, set_to: bool)
crates/ty_python_semantic/src/types/infer.rs:2491
Functionreplace_equals_with_dash
Equal length equals should be replaced with dashes. Parameters ==========
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:518
Functionreplace_equals_with_dash2
Here, the length of equals is not the same. Parameters ===========
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:526
Methodreplace_if_changed
Returns `Yes` if the names differ, or `No` if they match.
crates/ty_ide/src/will_rename.rs:1040
Functionreplace_lines
()
crates/ruff_server/src/edit/replacement.rs:208
Functionreplace_only_workspace_refreshes_diagnostics
()
crates/ty_server/tests/e2e/workspace_folders.rs:398
Methodreplacement
(content: String, start: TextSize, end: TextSize)
crates/ruff_diagnostics/src/edit.rs:36
Methodreplacement
Create a "replacement" constraint: the previous type will be replaced wholesale with this constraint
crates/ty_python_semantic/src/types/narrow.rs:1151
Methodreport
(self)
crates/ty/src/lib.rs:292
Methodreport_checked_file
(&self, db: &ProjectDatabase, file: File, diagnostics: &[Diagnostic])
crates/ty/src/lib.rs:808
Methodreport_checked_file
(&self, db: &ProjectDatabase, file: File, diagnostics: &[Diagnostic])
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:259
Methodreport_custom_diagnostic_if_enabled
( &'chk self, kind: T, range: TextRange, )
crates/ruff_linter/src/checkers/ast/mod.rs:3713
Methodreport_diagnostic
Reports the failed implicit call unless the lookup is shadowed or used for deletion.
crates/ty_python_semantic/src/types.rs:934
Methodreport_diagnostic
Reports the diagnostic for this error.
crates/ty_python_semantic/src/types/iteration.rs:774
Methodreport_diagnostic
(&self, context: &'db InferContext<'db, '_>, node: AnyNodeRef)
crates/ty_python_semantic/src/types/bound_super.rs:103
Methodreport_diagnostic
( &self, context: &InferContext<'db, '_>, context_expression_type: Type<'db>,
crates/ty_python_semantic/src/types/context_manager.rs:384
Methodreport_diagnostic
Optionally return a builder for a diagnostic guard. This only returns a builder if the current context allows a diagnostic with the given information
crates/ty_python_semantic/src/types/context.rs:358
Methodreport_diagnostics
(&mut self, db: &ProjectDatabase, diagnostics: Vec<Diagnostic>)
crates/ty/src/lib.rs:813
Methodreport_diagnostics
(&mut self, db: &ProjectDatabase, diagnostics: Vec<Diagnostic>)
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:291
Methodreport_missing_implicit_constructor_call
( context: &InferContext<'db, '_>, callable_type: Type<'db>, call_expressi
crates/ty_python_semantic/src/types/infer/builder.rs:9566
Methodreport_progress
Sends a progress report with the given message and optional percentage. Reports sent before the client acknowledges progress creation are dropped.
crates/ty_server/src/server/lazy_work_done_progress.rs:161
Methodreport_semantic_error
(&self, error: SemanticSyntaxError)
crates/ruff_linter/src/checkers/ast/mod.rs:773
Methodreport_suppression_codes
( context: &'a LintContext<'b>, locator: &Locator, suppression: &Suppression,
crates/ruff_linter/src/suppression.rs:622
Functionreports_dead_annotation_only_declaration
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:1050
Functionreports_else_branch_after_true_condition
()
crates/ty_python_semantic/src/types/ide_support/unreachable_code.rs:456
Functionreports_false_branch_from_statically_known_arithmetic
()
crates/ty_python_semantic/src/types/ide_support/unreachable_code.rs:439
Functionreports_false_branch_statement
()
crates/ty_python_semantic/src/types/ide_support/unreachable_code.rs:374
Functionreports_impossible_typed_dict_key_membership
()
crates/ty_python_semantic/src/types/ide_support/unreachable_code.rs:391
Functionreports_non_parameter_self_and_cls_bindings
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:660
Functionreports_noreturn_tail_as_current_analysis_unreachable
()
crates/ty_python_semantic/src/types/ide_support/unreachable_code.rs:756
Functionreports_platform_guarded_branch_as_current_analysis_unreachable
()
crates/ty_python_semantic/src/types/ide_support/unreachable_code.rs:734
← previousnext →27,501–27,600 of 31,562, ranked by callers