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
signature_help_parameter_documentation
()
crates/ty_ide/src/signature_help.rs:1343
Function
signature_help_parameter_label_offsets
()
crates/ty_ide/src/signature_help.rs:1275
Function
signature_help_paramspec_classmethod_docstring
()
crates/ty_ide/src/signature_help.rs:398
Function
signature_help_paramspec_generic_class_constructor_inside_subscript
()
crates/ty_ide/src/signature_help.rs:1089
Method
signature_help_render
(&self)
crates/ty_ide/src/signature_help.rs:1716
Function
signature_help_stub_to_implementation_mapping
()
crates/ty_ide/src/signature_help.rs:1555
Function
signature_help_subclass_of_constructor
()
crates/ty_ide/src/signature_help.rs:1248
Function
signature_help_union_callable
()
crates/ty_ide/src/signature_help.rs:453
Method
signatures_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
Method
similarity_index
(&self)
crates/ruff_dev/src/format_dev.rs:144
Function
simple
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
Function
simple
(short1: int, short2: str, short3: bytes)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_param_defaults.py:9
Function
simple
()
crates/ty_python_core/src/lib.rs:1315
Function
simple
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:11
Function
simple_assignment_does_not_enter_salsa_cycle
()
crates/ty_python_semantic/src/types/infer/tests.rs:490
Function
simple_cases
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:8
Method
simple_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
Function
simple_func
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:4
Function
simple_magic_methods
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:224
Function
simple_match_case
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:468
Function
simple_nonexistent_path
()
crates/ruff_db/src/vendored.rs:693
Function
simple_script
(bencher: Bencher)
crates/ruff_benchmark/benches/ty_script.rs:25
Function
simple_subtypes
()
crates/ty_server/tests/e2e/type_hierarchy.rs:42
Function
simple_supertypes
()
crates/ty_server/tests/e2e/type_hierarchy.rs:13
Function
simple_suppression
()
crates/ty_python_semantic/src/fixes.rs:833
Method
single
Creates a new f-string literal with a single [`FString`] part.
crates/ruff_python_ast/src/nodes.rs:553
Method
single
(target: NavigationTarget)
crates/ty_ide/src/lib.rs:231
Method
single
(signature: Signature<'db>)
crates/ty_python_semantic/src/types/signatures.rs:172
Method
single
(db: &'db dyn Db, signature: Signature<'db>)
crates/ty_python_semantic/src/types/callable.rs:808
Method
single
(signature_type: Type<'db>, signature: Signature<'db>)
crates/ty_python_semantic/src/types/call/bind.rs:8644
Method
single_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
Method
single_callable
Create a callable type with a single non-overloaded signature.
crates/ty_python_semantic/src/types/callable.rs:156
Method
single_char_string_literal
Create a promotable single-character string literal.
crates/ty_python_semantic/src/types.rs:3423
Function
single_file
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:580
Function
single_file_mode_does_not_index_nested_configuration
()
crates/ruff_server/tests/e2e/workspace.rs:205
Function
single_file_test
()
crates/mdtest/src/parser.rs:1202
Function
single_file_workspace
()
crates/ty_server/tests/e2e/workspace_folders.rs:24
Function
single_inference_defers_unsolved_defaults
()
crates/ty_python_semantic/src/types/generics.rs:5256
Function
single_label_without_message
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:929
Function
single_line
(aaaaaaaaaaaaaaaaaaaaaaaaaaaaa, bbbbbbbbbbbbbbb, ccccccccccccccccc)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:23
Function
single_line
But with a newline after it!
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:78
Function
single_line
But with a newline after it!
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_no_string_normalization.py:68
Function
single_line_backslashes1
content\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:1
Function
single_line_backslashes2
content\\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:6
Function
single_line_backslashes3
content\\\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:11
Function
single_line_docstring_with_an_escaped_backslash
\
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:644
Function
single_line_docstring_with_whitespace
This should be stripped
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:134
Function
single_line_func_wrong
(value = {})
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:82
Function
single_line_non_overlapping_suggestions
()
crates/ruff_annotate_snippets/tests/formatter.rs:1778
Function
single_line_non_overlapping_suggestions2
()
crates/ruff_annotate_snippets/tests/formatter.rs:1831
Function
single_line_trailing_comma
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:112
Function
single_literal_yapf_disable
Black does not support this.
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff.py:163
Function
single_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
Function
single_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
Function
single_quoted
content\
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:155
Function
single_quoted
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:336
Function
single_quoted_multi_line
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:46
Function
single_quoted_multiline_string_containing_comment
()
crates/ruff_python_trivia_integration_tests/tests/simple_tokenizer.rs:262
Function
single_quoted_multiline_string_implicit_concatenation
()
crates/ruff_python_trivia_integration_tests/tests/simple_tokenizer.rs:272
Function
single_quotes
testing
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:122
Function
single_quotes_raw
r'Summary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:316
Function
single_quotes_raw_uppercase
R'Summary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:321
Function
single_quotes_raw_uppercase_backslash
R'Sum\mary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:327
Function
single_range_suppression
()
crates/ruff_linter/src/suppression.rs:1462
Function
single_range_suppression_after_dedent
()
crates/ruff_linter/src/suppression.rs:1502
Function
single_range_suppression_implicit_match
()
crates/ruff_linter/src/suppression.rs:1570
Function
single_return
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004.py:81
Function
single_section
Summary. Returns: int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:66
Function
single_section
Summary. Returns ------- int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_numpy.py:101
Function
single_swap
Summary. Notes ----- Some notes. Returns ------- int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_numpy.py:71
Function
single_word
singleword.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:29
Function
single_word_dot_newline
singleword.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:50
Function
single_word_dot_second_line
singleword.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:60
Function
single_word_dot_second_line_then_more_text
singleword. This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:84
Function
single_word_dot_then_more_text
singleword. This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:71
Function
single_word_newline
singleword
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:45
Function
single_word_no_dot
singleword
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:32
Function
single_word_second_line
singleword
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:55
Function
single_word_second_line_then_more_text
singleword This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:77
Function
single_word_then_more_text
singleword This is more text.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:65
Function
single_workspace_folder
()
crates/ty_server/tests/e2e/initialize.rs:73
Method
singleton
(ty: Type<'db>)
crates/ty_python_semantic/src/types/narrow.rs:768
Method
site_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
Function
site_packages_paths_display
()
crates/ty_site_packages/src/lib.rs:3220
Function
site_packages_stub_overrides_first_party_package_when_stdlib_is_missing
()
crates/ty_module_resolver/src/resolve.rs:1936
Function
size
()
crates/ruff_python_semantic/src/binding.rs:862
Function
size
(x: u32)
crates/ruff_text_size/tests/main.rs:6
Function
size
()
crates/ruff_python_ast/src/nodes.rs:4178
Method
size_hint
(&self)
crates/ruff_python_formatter/src/comments/map.rs:579
Method
size_hint
(&self)
crates/ruff_python_ast/src/expression.rs:349
Method
size_hint
(&self)
crates/ty_python_core/src/lib.rs:944
Method
size_hint
(&self)
crates/ruff_linter/src/registry/rule_set.rs:371
Method
size_hint
(&self)
crates/ruff_linter/src/docstrings/sections.rs:282
Method
size_hint
(&self)
crates/ruff_linter/src/rules/pycodestyle/rules/logical_lines/mod.rs:250
Function
size_serialization
()
crates/ruff_text_size/tests/serde.rs:16
Function
skips_an_invalid_item_without_ending_the_parameter_list
()
crates/ty_ide/src/docstring/document/numpy.rs:1152
Function
skips_annotated_loop_carried_rebinding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:969
Function
skips_annotation_only_declaration_before_reassignment
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:1008
Function
skips_annotation_only_declaration_before_unused_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:1028
Function
skips_binding_captured_by_comprehension_in_nested_function
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:726
← previous
next →
28,401–28,500 of 31,562, ranked by callers