MCPcopy Create free account

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

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

Functionsignature_help_parameter_documentation
()
crates/ty_ide/src/signature_help.rs:1343
Functionsignature_help_parameter_label_offsets
()
crates/ty_ide/src/signature_help.rs:1275
Functionsignature_help_paramspec_classmethod_docstring
()
crates/ty_ide/src/signature_help.rs:398
Functionsignature_help_paramspec_generic_class_constructor_inside_subscript
()
crates/ty_ide/src/signature_help.rs:1089
Methodsignature_help_render
(&self)
crates/ty_ide/src/signature_help.rs:1716
Functionsignature_help_stub_to_implementation_mapping
()
crates/ty_ide/src/signature_help.rs:1555
Functionsignature_help_subclass_of_constructor
()
crates/ty_ide/src/signature_help.rs:1248
Functionsignature_help_union_callable
()
crates/ty_ide/src/signature_help.rs:453
Methodsignatures_is_single_paramspec
Checks whether the given slice contains a single signature, and that signature is a `ParamSpec` signature. If so, returns the [`BoundTypeVarInstance`]
crates/ty_python_semantic/src/types/signatures.rs:605
Methodsimilarity_index
(&self)
crates/ruff_dev/src/format_dev.rs:144
Functionsimple
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:1
Functionsimple
(short1: int, short2: str, short3: bytes)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_param_defaults.py:9
Functionsimple
()
crates/ty_python_core/src/lib.rs:1315
Functionsimple
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:11
Functionsimple_assignment_does_not_enter_salsa_cycle
()
crates/ty_python_semantic/src/types/infer/tests.rs:490
Functionsimple_cases
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:8
Methodsimple_conjunction_is_satisfiable
Checks whether this BDD is a single conjunction, where either (a) every constraint is positive lower-bound-only, or (b) every constraint is a positive
crates/ty_python_semantic/src/types/constraints.rs:2600
Functionsimple_func
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:4
Functionsimple_magic_methods
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:224
Functionsimple_match_case
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:468
Functionsimple_nonexistent_path
()
crates/ruff_db/src/vendored.rs:693
Functionsimple_script
(bencher: Bencher)
crates/ruff_benchmark/benches/ty_script.rs:25
Functionsimple_subtypes
()
crates/ty_server/tests/e2e/type_hierarchy.rs:42
Functionsimple_supertypes
()
crates/ty_server/tests/e2e/type_hierarchy.rs:13
Functionsimple_suppression
()
crates/ty_python_semantic/src/fixes.rs:833
Methodsingle
Creates a new f-string literal with a single [`FString`] part.
crates/ruff_python_ast/src/nodes.rs:553
Methodsingle
(target: NavigationTarget)
crates/ty_ide/src/lib.rs:231
Methodsingle
(signature: Signature<'db>)
crates/ty_python_semantic/src/types/signatures.rs:172
Methodsingle
(db: &'db dyn Db, signature: Signature<'db>)
crates/ty_python_semantic/src/types/callable.rs:808
Methodsingle
(signature_type: Type<'db>, signature: Signature<'db>)
crates/ty_python_semantic/src/types/call/bind.rs:8644
Methodsingle_bound_from_iterator
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, mut clauses: impl Iterator<Item = Ty
crates/ty_python_semantic/src/types/constraints.rs:2011
Methodsingle_callable
Create a callable type with a single non-overloaded signature.
crates/ty_python_semantic/src/types/callable.rs:156
Methodsingle_char_string_literal
Create a promotable single-character string literal.
crates/ty_python_semantic/src/types.rs:3423
Functionsingle_file
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:580
Functionsingle_file_mode_does_not_index_nested_configuration
()
crates/ruff_server/tests/e2e/workspace.rs:205
Functionsingle_file_test
()
crates/mdtest/src/parser.rs:1202
Functionsingle_file_workspace
()
crates/ty_server/tests/e2e/workspace_folders.rs:24
Functionsingle_inference_defers_unsolved_defaults
()
crates/ty_python_semantic/src/types/generics.rs:5256
Functionsingle_label_without_message
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:929
Functionsingle_line
(aaaaaaaaaaaaaaaaaaaaaaaaaaaaa, bbbbbbbbbbbbbbb, ccccccccccccccccc)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:23
Functionsingle_line
But with a newline after it!
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:78
Functionsingle_line
But with a newline after it!
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_no_string_normalization.py:68
Functionsingle_line_backslashes1
content\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:1
Functionsingle_line_backslashes2
content\\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:6
Functionsingle_line_backslashes3
content\\\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:11
Functionsingle_line_docstring_with_an_escaped_backslash
\
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:644
Functionsingle_line_docstring_with_whitespace
This should be stripped
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:134
Functionsingle_line_func_wrong
(value = {})
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:82
Functionsingle_line_non_overlapping_suggestions
()
crates/ruff_annotate_snippets/tests/formatter.rs:1778
Functionsingle_line_non_overlapping_suggestions2
()
crates/ruff_annotate_snippets/tests/formatter.rs:1831
Functionsingle_line_trailing_comma
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:112
Functionsingle_literal_yapf_disable
Black does not support this.
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff.py:163
Functionsingle_quote_docstring_over_line_limit
We do not want to put the closing quote on a new line as that is invalid (see GH-3141).
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_preview.py:45
Functionsingle_quote_docstring_over_line_limit2
We do not want to put the closing quote on a new line as that is invalid (see GH-3141).
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_preview.py:49
Functionsingle_quoted
content\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:155
Functionsingle_quoted
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:336
Functionsingle_quoted_multi_line
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:46
Functionsingle_quoted_multiline_string_containing_comment
()
crates/ruff_python_trivia_integration_tests/tests/simple_tokenizer.rs:262
Functionsingle_quoted_multiline_string_implicit_concatenation
()
crates/ruff_python_trivia_integration_tests/tests/simple_tokenizer.rs:272
Functionsingle_quotes
testing
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:122
Functionsingle_quotes_raw
r'Summary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:316
Functionsingle_quotes_raw_uppercase
R'Summary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:321
Functionsingle_quotes_raw_uppercase_backslash
R'Sum\mary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:327
Functionsingle_range_suppression
()
crates/ruff_linter/src/suppression.rs:1462
Functionsingle_range_suppression_after_dedent
()
crates/ruff_linter/src/suppression.rs:1502
Functionsingle_range_suppression_implicit_match
()
crates/ruff_linter/src/suppression.rs:1570
Functionsingle_return
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004.py:81
Functionsingle_section
Summary. Returns: int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:66
Functionsingle_section
Summary. Returns ------- int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_numpy.py:101
Functionsingle_swap
Summary. Notes ----- Some notes. Returns ------- int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_numpy.py:71
Functionsingle_word
singleword.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:29
Functionsingle_word_dot_newline
singleword.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:50
Functionsingle_word_dot_second_line
singleword.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:60
Functionsingle_word_dot_second_line_then_more_text
singleword. This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:84
Functionsingle_word_dot_then_more_text
singleword. This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:71
Functionsingle_word_newline
singleword
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:45
Functionsingle_word_no_dot
singleword
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:32
Functionsingle_word_second_line
singleword
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:55
Functionsingle_word_second_line_then_more_text
singleword This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:77
Functionsingle_word_then_more_text
singleword This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:65
Functionsingle_workspace_folder
()
crates/ty_server/tests/e2e/initialize.rs:73
Methodsingleton
(ty: Type<'db>)
crates/ty_python_semantic/src/types/narrow.rs:768
Methodsite_packages
Create a new search path pointing to the `site-packages` directory on disk TODO: the validation done here is somewhat redundant given that `site-pack
crates/ty_module_resolver/src/path.rs:675
Functionsite_packages_paths_display
()
crates/ty_site_packages/src/lib.rs:3220
Functionsite_packages_stub_overrides_first_party_package_when_stdlib_is_missing
()
crates/ty_module_resolver/src/resolve.rs:1936
Functionsize
()
crates/ruff_python_semantic/src/binding.rs:862
Functionsize
(x: u32)
crates/ruff_text_size/tests/main.rs:6
Functionsize
()
crates/ruff_python_ast/src/nodes.rs:4178
Methodsize_hint
(&self)
crates/ruff_python_formatter/src/comments/map.rs:579
Methodsize_hint
(&self)
crates/ruff_python_ast/src/expression.rs:349
Methodsize_hint
(&self)
crates/ty_python_core/src/lib.rs:944
Methodsize_hint
(&self)
crates/ruff_linter/src/registry/rule_set.rs:371
Methodsize_hint
(&self)
crates/ruff_linter/src/docstrings/sections.rs:282
Methodsize_hint
(&self)
crates/ruff_linter/src/rules/pycodestyle/rules/logical_lines/mod.rs:250
Functionsize_serialization
()
crates/ruff_text_size/tests/serde.rs:16
Functionskips_an_invalid_item_without_ending_the_parameter_list
()
crates/ty_ide/src/docstring/document/numpy.rs:1152
Functionskips_annotated_loop_carried_rebinding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:969
Functionskips_annotation_only_declaration_before_reassignment
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:1008
Functionskips_annotation_only_declaration_before_unused_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:1028
Functionskips_binding_captured_by_comprehension_in_nested_function
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:726
← previousnext →28,401–28,500 of 31,562, ranked by callers