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
shared_import_hover_uses_each_script_python_version
()
crates/ty_server/tests/e2e/hover.rs:147
Function
shared_imports_use_each_scripts_platform
()
crates/ty/tests/cli/scripts.rs:982
Function
shared_script_search_paths_remain_watched_until_unused
()
crates/ty/tests/file_watching.rs:1676
Function
shared_search_paths_select_project_by_root_order
()
crates/ty_server/tests/e2e/workspace_folders.rs:794
Function
shared_source_order_subtrees_are_visited_once
()
crates/ty_python_semantic/src/types/constraints.rs:7009
Function
shares_dependency_strings
()
crates/ty_project/src/uv/metadata.rs:315
Function
shebang
()
crates/ruff_linter/src/rules/pycodestyle/mod.rs:395
Function
shebang_end_of_line
()
crates/ruff_linter/src/comments/shebang.rs:66
Function
shebang_leading_space
()
crates/ruff_linter/src/comments/shebang.rs:84
Function
shebang_match
()
crates/ruff_linter/src/comments/shebang.rs:72
Function
shebang_match_trailing_comment
()
crates/ruff_linter/src/comments/shebang.rs:78
Function
shebang_non_match
()
crates/ruff_linter/src/comments/shebang.rs:60
Function
shell_completion_broken_pipe
()
crates/ty/tests/cli/exit_code.rs:6
Function
shockingly_the_quotes_are_normalized
This is a multiline docstring. This is a multiline docstring. This is a multiline docstring.
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_no_string_normalization.py:16
Function
shockingly_the_quotes_are_normalized_v2
Docstring Docstring Docstring
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_no_string_normalization.py:99
Function
short_circuit_task_with_deprecated_context
(**context)
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_context.py:233
Function
short_diff
()
crates/ruff_dev/src/generate_all.rs:89
Function
short_docstring
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:309
Function
short_error_format1
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3387
Function
short_error_format2
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3443
Function
short_fun
A function with a loop.
crates/ruff_linter/resources/test/fixtures/pylint/useless_else_on_loop.py:25
Function
should_add_raw_for_single_double_quote_escape
This is single quote escape \".
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:92
Function
should_add_raw_for_single_single_quote_escape
This is single quote escape \'.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:98
Function
should_fail
Send a message. Args: payload: The message payload.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:199
Method
should_hide_self_from_display
Returns `true` if `Self` should be hidden from the generic context display. `Self` is hidden if it does not appear in: 1. The return type 2. Any expl
crates/ty_python_semantic/src/types/signatures.rs:1134
Function
should_not_fail
Send a message. Args: payload: The message payload. Args: The other arguments.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:210
Method
should_truncate
Returns `true` if the source code should be truncated when included in a user-facing diagnostic.
crates/ruff_linter/src/fix/snippet.rs:37
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/display.rs:691
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/generics.rs:809
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/constraints.rs:1318
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/constraints/sequents.rs:2165
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/constraints/resolution.rs:171
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/tuple/promotion.rs:42
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/call/bind.rs:185
Method
should_visit_lazy_type_attributes
(&self)
crates/ty_python_semantic/src/types/class/static_literal.rs:563
Function
shouldnt_add_raw_for_docstring_contains_escaped_double_triple_quotes
Escaped triple quote \""" or \"\"\".
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:81
Function
shouldnt_add_raw_for_docstring_contains_escaped_single_triple_quotes
Escaped triple quote \''' or \'\'\'.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:86
Function
shouldnt_add_raw_for_double_quote_docstring_contains_docstring
This docstring contains another double-quote docstring. def foo(): \"\"\"Foo.\"\"\"
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:40
Function
shouldnt_add_raw_for_double_quote_docstring_contains_docstring2
This docstring contains another double-quote docstring. def bar(): \"""Bar.\""" More content here.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:49
Function
shouldnt_add_raw_for_single_quote_docstring_contains_docstring
This docstring contains another single-quote docstring. def foo(): \'\'\'Foo.\'\'\' More content here.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:60
Function
shouldnt_add_raw_for_single_quote_docstring_contains_docstring2
This docstring contains another single-quote docstring. def bar(): \'''Bar.\''' More content here.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:71
Function
shouldnt_add_raw_here
Ruff \U000026a1
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:13
Function
shouldnt_add_raw_here2
u"Sum\\mary.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D301.py:36
Method
show
Pretty-prints a given string of `code`. Convenience method for debugging.
crates/ruff_python_formatter/resources/test/fixtures/black/miscellaneous/debug_visitor.py:26
Function
show_file
(lines)
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:305
Function
show_fixes
()
crates/ruff_db/src/diagnostic/render/concise.rs:151
Function
show_fixes_in_full_output_with_preview_enabled
()
crates/ruff/tests/cli/lint.rs:4753
Function
show_fixes_preview
()
crates/ruff_db/src/diagnostic/render/concise.rs:165
Function
show_fixes_preview
()
crates/ruff/tests/cli/lint.rs:4693
Function
show_fixes_syntax_errors
()
crates/ruff_db/src/diagnostic/render/concise.rs:180
Function
show_statistics
()
crates/ruff/tests/integration_test.rs:1099
Function
show_statistics_json
()
crates/ruff/tests/integration_test.rs:1141
Function
show_statistics_json_partial_fix
()
crates/ruff/tests/integration_test.rs:1208
Function
show_statistics_json_unsafe_fixes
()
crates/ruff/tests/integration_test.rs:1174
Function
show_statistics_partial_fix
()
crates/ruff/tests/integration_test.rs:1238
Function
show_statistics_syntax_errors
()
crates/ruff/tests/integration_test.rs:1256
Function
show_statistics_unsafe_fixes
()
crates/ruff/tests/integration_test.rs:1120
Function
show_status
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_parens.py:8
Method
shrink_to_fit
Shrink the capacity of the collection as much as possible.
crates/ty_python_semantic/src/types/set_theoretic.rs:867
Method
shrink_to_fit
(&mut self)
crates/ty_python_semantic/src/types/diagnostic.rs:1707
Function
sibling_file_does_not_invalidate_package_submodules
()
crates/ty_module_resolver/src/list.rs:630
Function
sibling_modules_can_be_resolved_correctly_in_any_order
()
crates/ty_module_resolver/src/resolve/search.rs:1235
Function
signature_display
()
crates/ty_python_semantic/src/types/display.rs:4237
Function
signature_display_multiline
()
crates/ty_python_semantic/src/types/display.rs:4378
Method
signature_help
( &self, file_id: &FileHandle, position: Position, )
crates/ty_wasm/src/lib.rs:729
Function
signature_help_active_signature_selection
()
crates/ty_ide/src/signature_help.rs:1304
Function
signature_help_after_closing_paren
()
crates/ty_ide/src/signature_help.rs:1407
Function
signature_help_after_closing_paren_at_end_of_file
()
crates/ty_ide/src/signature_help.rs:1504
Function
signature_help_after_closing_paren_in_expression
()
crates/ty_ide/src/signature_help.rs:1518
Function
signature_help_after_closing_paren_nested
()
crates/ty_ide/src/signature_help.rs:1533
Function
signature_help_after_comma_at_end_of_file
()
crates/ty_ide/src/signature_help.rs:1468
Function
signature_help_after_nested_closing_paren
()
crates/ty_ide/src/signature_help.rs:1426
Function
signature_help_after_opening_paren_at_end_of_file
()
crates/ty_ide/src/signature_help.rs:1455
Function
signature_help_bare_paramspec_keeps_active_parameter_for_later_arguments
()
crates/ty_ide/src/signature_help.rs:1109
Function
signature_help_basic_function_call
()
crates/ty_ide/src/signature_help.rs:299
Function
signature_help_bound_method_overload_self_type
()
crates/ty_ide/src/signature_help.rs:377
Function
signature_help_callable_object
()
crates/ty_ide/src/signature_help.rs:1225
Function
signature_help_class_constructor
()
crates/ty_ide/src/signature_help.rs:1035
Function
signature_help_generic_function_resolves_typevars
()
crates/ty_ide/src/signature_help.rs:1187
Function
signature_help_generic_list_method_resolves_typevars
()
crates/ty_ide/src/signature_help.rs:1161
Function
signature_help_generic_method_resolves_typevars
()
crates/ty_ide/src/signature_help.rs:1130
Function
signature_help_in_trailing_whitespace
()
crates/ty_ide/src/signature_help.rs:1481
Function
signature_help_in_trailing_whitespace_before_newline
()
crates/ty_ide/src/signature_help.rs:1494
Function
signature_help_literal_dictionary_key_order
()
crates/ty_ide/src/signature_help.rs:694
Function
signature_help_literal_list_after_keyword
()
crates/ty_ide/src/signature_help.rs:671
Function
signature_help_method_call
()
crates/ty_ide/src/signature_help.rs:349
Function
signature_help_named_tuple_field_documentation
()
crates/ty_ide/src/signature_help.rs:1380
Function
signature_help_nested_function_calls
()
crates/ty_ide/src/signature_help.rs:429
Function
signature_help_overload_arity_disambiguated1
()
crates/ty_ide/src/signature_help.rs:793
Function
signature_help_overload_arity_disambiguated2
()
crates/ty_ide/src/signature_help.rs:847
Function
signature_help_overload_keyword_disambiguated1
()
crates/ty_ide/src/signature_help.rs:903
Function
signature_help_overload_keyword_disambiguated2
()
crates/ty_ide/src/signature_help.rs:969
Function
signature_help_overload_literal_dictionary_arity
()
crates/ty_ide/src/signature_help.rs:755
Function
signature_help_overload_literal_list_arity
()
crates/ty_ide/src/signature_help.rs:717
Function
signature_help_overload_type_disambiguated1
()
crates/ty_ide/src/signature_help.rs:559
Function
signature_help_overload_type_disambiguated2
()
crates/ty_ide/src/signature_help.rs:615
Function
signature_help_overloaded_function
()
crates/ty_ide/src/signature_help.rs:505
Function
signature_help_overloaded_function_conditionally_reassigned_impl_has_docstring
()
crates/ty_ide/src/signature_help.rs:1673
Function
signature_help_overloaded_function_conditionally_reassigned_overload_has_docstring
()
crates/ty_ide/src/signature_help.rs:1634
Function
signature_help_overloaded_function_implementation_docstring
()
crates/ty_ide/src/signature_help.rs:1599
← previous
next →
28,301–28,400 of 31,562, ranked by callers