MCPcopy Create free account

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

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

Functiontest_ipython_escape_command_line_continuation_mac_eol
()
crates/ruff_python_parser/src/lexer.rs:1845
Functiontest_ipython_escape_command_line_continuation_unix_eol
()
crates/ruff_python_parser/src/lexer.rs:1840
Functiontest_ipython_escape_command_line_continuation_windows_eol
()
crates/ruff_python_parser/src/lexer.rs:1850
Functiontest_ipython_escape_command_line_continuation_with_mac_eol_and_eof
()
crates/ruff_python_parser/src/lexer.rs:1867
Functiontest_ipython_escape_command_line_continuation_with_unix_eol_and_eof
()
crates/ruff_python_parser/src/lexer.rs:1860
Functiontest_ipython_escape_command_line_continuation_with_windows_eol_and_eof
()
crates/ruff_python_parser/src/lexer.rs:1874
Functiontest_ipython_escape_command_not_an_assignment
()
crates/ruff_python_parser/src/lexer.rs:1965
Functiontest_ipython_escape_commands
()
crates/ruff_python_parser/src/parser/tests.rs:222
Functiontest_ipython_help_end_escape_command
()
crates/ruff_python_parser/src/lexer.rs:1908
Functiontest_is_acronym
()
crates/ruff_linter/src/rules/pep8_naming/helpers.rs:196
Functiontest_is_camelcase
()
crates/ruff_linter/src/rules/pep8_naming/helpers.rs:175
Functiontest_is_known_type
()
crates/ruff_linter/src/rules/ruff/typing.rs:303
Functiontest_is_mixed_case
()
crates/ruff_linter/src/rules/pep8_naming/helpers.rs:185
Functiontest_is_valid_python_code_cell
(cell: &str, expected: bool)
crates/ruff_notebook/src/notebook.rs:606
Functiontest_isel_named_axis
(ds2: mikeio.Dataset)
crates/ruff_benchmark/resources/large/dataset.py:289
Functiontest_item_search
()
crates/ruff_benchmark/resources/large/dataset.py:1043
Functiontest_iteminfo_string_type_should_fail_with_helpful_message
()
crates/ruff_benchmark/resources/large/dataset.py:1036
Functiontest_items_data_mismatch
()
crates/ruff_benchmark/resources/large/dataset.py:1080
Functiontest_json_consistency
()
crates/ruff_linter/src/linter.rs:870
Functiontest_json_load
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S506.py:19
Functiontest_just_double_star
()
crates/ty_module_resolver/src/module_glob.rs:476
Functiontest_key_return_value
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:450
Functiontest_key_return_value_before_task_ids
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:510
Functiontest_key_return_value_before_task_ids_list
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:518
Functiontest_key_return_value_double_quotes
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:458
Functiontest_keys
areas.json - All regions are accounted for.
crates/ruff_linter/resources/test/fixtures/pycodestyle/W19.py:138
Functiontest_keyword_arguments
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:82
Functiontest_lambda_function_calls
()
crates/ty_ide/src/inlay_hints.rs:5710
Methodtest_large_linter_report_keeps_every_change
(self)
python/ruff-ecosystem/tests/test_html.py:46
Functiontest_layer_selection
()
crates/ruff_benchmark/resources/large/dataset.py:1506
Functiontest_leading_underscore_variable_assignment_has_no_type_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:1798
Functiontest_leading_underscore_variable_in_tuple_assignment_has_no_type_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:1822
Functiontest_levenshtein_distance_calculation_cpython_examples
( string_a: &str, string_b: &str, expected_distance: usize, )
crates/ty_python_semantic/src/diagnostic/levenshtein.rs:329
Functiontest_levenshtein_distance_calculation_wikipedia_examples
( string_a: &str, string_b: &str, expected_distance: usize, )
crates/ty_python_semantic/src/diagnostic/levenshtein.rs:297
Functiontest_line_comment_empty
()
crates/ruff_python_parser/src/lexer.rs:2020
Functiontest_line_comment_long
()
crates/ruff_python_parser/src/lexer.rs:2002
Functiontest_line_comment_single_whitespace
()
crates/ruff_python_parser/src/lexer.rs:2014
Functiontest_line_comment_whitespace
()
crates/ruff_python_parser/src/lexer.rs:2008
Functiontest_line_continuation_at_eof_after_newline_mac_eol
()
crates/ruff_python_parser/src/lexer.rs:2296
Functiontest_line_continuation_at_eof_after_newline_unix_eol
()
crates/ruff_python_parser/src/lexer.rs:2291
Functiontest_line_continuation_at_eof_after_newline_windows_eol
()
crates/ruff_python_parser/src/lexer.rs:2301
Functiontest_line_continuation_at_eof_mac_eol
()
crates/ruff_python_parser/src/lexer.rs:2316
Functiontest_line_continuation_at_eof_unix_eol
()
crates/ruff_python_parser/src/lexer.rs:2311
Functiontest_line_continuation_at_eof_windows_eol
()
crates/ruff_python_parser/src/lexer.rs:2321
Functiontest_list
(param)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT007.py:32
Functiontest_list
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:35
Functiontest_list_comprehensions
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_1.py:29
Functiontest_list_expressions
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:45
Functiontest_list_mixed_expr_literal
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:50
Functiontest_list_of_lists
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT007.py:54
Functiontest_list_of_tuples
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT007.py:43
Functiontest_list_one_elem
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:40
Functiontest_list_with_key_return_value
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:468
Functiontest_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
Functiontest_literal_group
()
crates/ty_ide/src/inlay_hints.rs:5802
Functiontest_literal_string
()
crates/ty_ide/src/inlay_hints.rs:5762
Functiontest_literal_type_alias_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:6817
Functiontest_local_variable_highlights
()
crates/ty_ide/src/doc_highlights.rs:113
Functiontest_locate_cmp_ops
()
crates/ruff_linter/src/rules/pyflakes/rules/invalid_literal_comparisons.rs:247
Functiontest_logical_newline_line_comment
()
crates/ruff_python_parser/src/lexer.rs:2165
Functiontest_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
Functiontest_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
Functiontest_many_literals
()
crates/ty_ide/src/inlay_hints.rs:2822
Functiontest_many_literals_list
()
crates/ty_ide/src/inlay_hints.rs:2958
Functiontest_many_literals_multiple
()
crates/ty_ide/src/inlay_hints.rs:2924
Functiontest_many_literals_tuple
()
crates/ty_ide/src/inlay_hints.rs:2856
Functiontest_many_literals_unpacked_tuple
()
crates/ty_ide/src/inlay_hints.rs:2890
Functiontest_match_and_check
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT010.py:21
Functiontest_match_as_binding
()
crates/ty_ide/src/inlay_hints.rs:2658
Functiontest_match_keyword_binding
()
crates/ty_ide/src/inlay_hints.rs:2725
Functiontest_match_name_binding
()
crates/ty_ide/src/inlay_hints.rs:2565
Functiontest_match_only
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT010.py:13
Functiontest_match_rest_binding
()
crates/ty_ide/src/inlay_hints.rs:2606
Functiontest_match_softkeyword_in_notebook
()
crates/ruff_python_parser/src/lexer.rs:2725
Functiontest_member_expr_ref_different_segments
()
crates/ty_python_core/src/member.rs:1080
Functiontest_member_expr_ref_hash_and_eq_small_heap
()
crates/ty_python_core/src/member.rs:1043
Functiontest_member_expr_ref_parent
()
crates/ty_python_core/src/member.rs:1119
Functiontest_member_expr_small_vs_heap_allocation
()
crates/ty_python_core/src/member.rs:1166
Functiontest_merge_by_item
()
crates/ruff_benchmark/resources/large/dataset.py:1365
Functiontest_merge_by_item_dfsu_3d
()
crates/ruff_benchmark/resources/large/dataset.py:1379
Functiontest_merge_same_name_error
()
crates/ruff_benchmark/resources/large/dataset.py:1458
Functiontest_meta_typevar_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:7075
Methodtest_method
Test a valid args section. Args: test: A parameter. another_test: Another parameter.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:321
Methodtest_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
Methodtest_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_0.py:67
Functiontest_method_chaining
()
crates/ty_ide/src/inlay_hints.rs:5613
Methodtest_method_outer_paren
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT023.py:100
Functiontest_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
Functiontest_method_wrapper_inlay_hint
()
crates/ty_ide/src/inlay_hints.rs:6917
Methodtest_missing_args
Test a valid args section. Args: x: Another parameter.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:333
Methodtest_missing_args
Test a valid args section. Parameters ---------- x, t : int Some parameters.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:434
Methodtest_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
Methodtest_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
Methodtest_missing_args_static_method
Test a valid args section. Args: x: Another parameter.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:358
Methodtest_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
Methodtest_missing_docstring
Test a valid args section. Args: a:
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:370
Functiontest_missing_google_args
Toggle the gizmo. Args: x (int): The greatest integer.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:309
Functiontest_missing_item_error
()
crates/ruff_benchmark/resources/large/dataset.py:380
Functiontest_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
Functiontest_missing_unicode_lbrace_error
()
crates/ruff_python_parser/src/string.rs:1122
← previousnext →29,601–29,700 of 31,562, ranked by callers