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
test_ipython_escape_command_line_continuation_mac_eol
()
crates/ruff_python_parser/src/lexer.rs:1845
Function
test_ipython_escape_command_line_continuation_unix_eol
()
crates/ruff_python_parser/src/lexer.rs:1840
Function
test_ipython_escape_command_line_continuation_windows_eol
()
crates/ruff_python_parser/src/lexer.rs:1850
Function
test_ipython_escape_command_line_continuation_with_mac_eol_and_eof
()
crates/ruff_python_parser/src/lexer.rs:1867
Function
test_ipython_escape_command_line_continuation_with_unix_eol_and_eof
()
crates/ruff_python_parser/src/lexer.rs:1860
Function
test_ipython_escape_command_line_continuation_with_windows_eol_and_eof
()
crates/ruff_python_parser/src/lexer.rs:1874
Function
test_ipython_escape_command_not_an_assignment
()
crates/ruff_python_parser/src/lexer.rs:1965
Function
test_ipython_escape_commands
()
crates/ruff_python_parser/src/parser/tests.rs:222
Function
test_ipython_help_end_escape_command
()
crates/ruff_python_parser/src/lexer.rs:1908
Function
test_is_acronym
()
crates/ruff_linter/src/rules/pep8_naming/helpers.rs:196
Function
test_is_camelcase
()
crates/ruff_linter/src/rules/pep8_naming/helpers.rs:175
Function
test_is_known_type
()
crates/ruff_linter/src/rules/ruff/typing.rs:303
Function
test_is_mixed_case
()
crates/ruff_linter/src/rules/pep8_naming/helpers.rs:185
Function
test_is_valid_python_code_cell
(cell: &str, expected: bool)
crates/ruff_notebook/src/notebook.rs:606
Function
test_isel_named_axis
(ds2: mikeio.Dataset)
crates/ruff_benchmark/resources/large/dataset.py:289
Function
test_item_search
()
crates/ruff_benchmark/resources/large/dataset.py:1043
Function
test_iteminfo_string_type_should_fail_with_helpful_message
()
crates/ruff_benchmark/resources/large/dataset.py:1036
Function
test_items_data_mismatch
()
crates/ruff_benchmark/resources/large/dataset.py:1080
Function
test_json_consistency
()
crates/ruff_linter/src/linter.rs:870
Function
test_json_load
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S506.py:19
Function
test_just_double_star
()
crates/ty_module_resolver/src/module_glob.rs:476
Function
test_key_return_value
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:450
Function
test_key_return_value_before_task_ids
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:510
Function
test_key_return_value_before_task_ids_list
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:518
Function
test_key_return_value_double_quotes
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:458
Function
test_keys
areas.json - All regions are accounted for.
crates/ruff_linter/resources/test/fixtures/pycodestyle/W19.py:138
Function
test_keyword_arguments
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:82
Function
test_lambda_function_calls
()
crates/ty_ide/src/inlay_hints.rs:5710
Method
test_large_linter_report_keeps_every_change
(self)
python/ruff-ecosystem/tests/test_html.py:46
Function
test_layer_selection
()
crates/ruff_benchmark/resources/large/dataset.py:1506
Function
test_leading_underscore_variable_assignment_has_no_type_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:1798
Function
test_leading_underscore_variable_in_tuple_assignment_has_no_type_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:1822
Function
test_levenshtein_distance_calculation_cpython_examples
( string_a: &str, string_b: &str, expected_distance: usize, )
crates/ty_python_semantic/src/diagnostic/levenshtein.rs:329
Function
test_levenshtein_distance_calculation_wikipedia_examples
( string_a: &str, string_b: &str, expected_distance: usize, )
crates/ty_python_semantic/src/diagnostic/levenshtein.rs:297
Function
test_line_comment_empty
()
crates/ruff_python_parser/src/lexer.rs:2020
Function
test_line_comment_long
()
crates/ruff_python_parser/src/lexer.rs:2002
Function
test_line_comment_single_whitespace
()
crates/ruff_python_parser/src/lexer.rs:2014
Function
test_line_comment_whitespace
()
crates/ruff_python_parser/src/lexer.rs:2008
Function
test_line_continuation_at_eof_after_newline_mac_eol
()
crates/ruff_python_parser/src/lexer.rs:2296
Function
test_line_continuation_at_eof_after_newline_unix_eol
()
crates/ruff_python_parser/src/lexer.rs:2291
Function
test_line_continuation_at_eof_after_newline_windows_eol
()
crates/ruff_python_parser/src/lexer.rs:2301
Function
test_line_continuation_at_eof_mac_eol
()
crates/ruff_python_parser/src/lexer.rs:2316
Function
test_line_continuation_at_eof_unix_eol
()
crates/ruff_python_parser/src/lexer.rs:2311
Function
test_line_continuation_at_eof_windows_eol
()
crates/ruff_python_parser/src/lexer.rs:2321
Function
test_list
(param)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT007.py:32
Function
test_list
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:35
Function
test_list_comprehensions
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_1.py:29
Function
test_list_expressions
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:45
Function
test_list_mixed_expr_literal
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:50
Function
test_list_of_lists
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT007.py:54
Function
test_list_of_tuples
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT007.py:43
Function
test_list_one_elem
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:40
Function
test_list_with_key_return_value
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:468
Function
test_literal_annotation_args_contain_quotes
(self, type1: AbstractBaseUser[Literal["user", "admin"], Annotated["int", "1", 2]])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote2.py:27
Function
test_literal_group
()
crates/ty_ide/src/inlay_hints.rs:5802
Function
test_literal_string
()
crates/ty_ide/src/inlay_hints.rs:5762
Function
test_literal_type_alias_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:6817
Function
test_local_variable_highlights
()
crates/ty_ide/src/doc_highlights.rs:113
Function
test_locate_cmp_ops
()
crates/ruff_linter/src/rules/pyflakes/rules/invalid_literal_comparisons.rs:247
Function
test_logical_newline_line_comment
()
crates/ruff_python_parser/src/lexer.rs:2165
Function
test_lowercase_sub_section_header_different_kind
Test that lower case subsection header is valid even if it is of a different kind. Parameters -‐----------------- returns: some value
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:610
Function
test_lowercase_sub_section_header_should_be_valid
Test that lower case subsection header is valid even if it has the same name as section kind. Parameters: ---------- parameters:
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:598
Function
test_many_literals
()
crates/ty_ide/src/inlay_hints.rs:2822
Function
test_many_literals_list
()
crates/ty_ide/src/inlay_hints.rs:2958
Function
test_many_literals_multiple
()
crates/ty_ide/src/inlay_hints.rs:2924
Function
test_many_literals_tuple
()
crates/ty_ide/src/inlay_hints.rs:2856
Function
test_many_literals_unpacked_tuple
()
crates/ty_ide/src/inlay_hints.rs:2890
Function
test_match_and_check
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT010.py:21
Function
test_match_as_binding
()
crates/ty_ide/src/inlay_hints.rs:2658
Function
test_match_keyword_binding
()
crates/ty_ide/src/inlay_hints.rs:2725
Function
test_match_name_binding
()
crates/ty_ide/src/inlay_hints.rs:2565
Function
test_match_only
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT010.py:13
Function
test_match_rest_binding
()
crates/ty_ide/src/inlay_hints.rs:2606
Function
test_match_softkeyword_in_notebook
()
crates/ruff_python_parser/src/lexer.rs:2725
Function
test_member_expr_ref_different_segments
()
crates/ty_python_core/src/member.rs:1080
Function
test_member_expr_ref_hash_and_eq_small_heap
()
crates/ty_python_core/src/member.rs:1043
Function
test_member_expr_ref_parent
()
crates/ty_python_core/src/member.rs:1119
Function
test_member_expr_small_vs_heap_allocation
()
crates/ty_python_core/src/member.rs:1166
Function
test_merge_by_item
()
crates/ruff_benchmark/resources/large/dataset.py:1365
Function
test_merge_by_item_dfsu_3d
()
crates/ruff_benchmark/resources/large/dataset.py:1379
Function
test_merge_same_name_error
()
crates/ruff_benchmark/resources/large/dataset.py:1458
Function
test_meta_typevar_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:7075
Method
test_method
Test a valid args section. Args: test: A parameter. another_test: Another parameter.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:321
Method
test_method
Test a valid args section. Some long string with a \ line continuation. Parameters ---------- test, another_test
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:413
Method
test_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_0.py:67
Function
test_method_chaining
()
crates/ty_ide/src/inlay_hints.rs:5613
Method
test_method_outer_paren
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT023.py:100
Function
test_method_should_be_correctly_capitalized
Test parameters and attributes sections are capitalized correctly. Parameters ---------- parameters: A list of string parameters
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:578
Function
test_method_wrapper_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:6917
Method
test_missing_args
Test a valid args section. Args: x: Another parameter.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:333
Method
test_missing_args
Test a valid args section. Parameters ---------- x, t : int Some parameters.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:434
Method
test_missing_args_class_method
Test a valid args section. Args: x: Another parameter. The parameter below is missing description. y:
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:345
Method
test_missing_args_class_method
Test a valid args section. Parameters ---------- z x Another parameter. The parameters y, test below are
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:449
Method
test_missing_args_static_method
Test a valid args section. Args: x: Another parameter.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:358
Method
test_missing_args_static_method
Test a valid args section. Parameters ---------- x, y Another parameter. t : int Yet another
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:468
Method
test_missing_docstring
Test a valid args section. Args: a:
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:370
Function
test_missing_google_args
Toggle the gizmo. Args: x (int): The greatest integer.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:309
Function
test_missing_item_error
()
crates/ruff_benchmark/resources/large/dataset.py:380
Function
test_missing_numpy_args
Toggle the gizmo. Parameters ---------- x : int The greatest integer in the history \ of the entire world.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:398
Function
test_missing_unicode_lbrace_error
()
crates/ruff_python_parser/src/string.rs:1122
← previous
next →
29,601–29,700 of 31,562, ranked by callers