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
test3
()
crates/ty_python_semantic/resources/corpus/58_async_for_continue.py:1
Function
test4
a, b
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:19
Function
test4
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:187
Function
test4
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:38
Function
test4
(<RANGE_START> a)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:30
Function
test5
a, b a
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:26
Function
test5
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:193
Function
test5
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:46
Function
test6
a, b c
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:31
Function
test6
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:199
Function
test6
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:59
Function
test7
a, b
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:40
Function
test7
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:66
Method
testAndOfCourseThis
(self, a=1)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/is_pytest_test.py:8
Function
testClassNamespaceOverridesClosure
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal2.py:3
Function
testClassNamespaceOverridesClosure
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal1.py:3
Function
testNonLocalClass
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal3.py:3
Method
testTest
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:40
Function
testThisIsAlsoATest
(a=1)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/is_pytest_test.py:4
Function
test_1
()
crates/ruff_linter/resources/test/fixtures/syntax_errors/load_before_global_declaration.py:2
Function
test_2
()
crates/ruff_linter/resources/test/fixtures/syntax_errors/load_before_global_declaration.py:8
Function
test_3
()
crates/ruff_linter/resources/test/fixtures/syntax_errors/load_before_global_declaration.py:12
Function
test_PT006_and_PT007_do_not_conflict
(param)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006_and_PT007.py:4
Function
test_add_bad_value
(ds1)
crates/ruff_benchmark/resources/large/dataset.py:1190
Function
test_add_dataset
(ds1, ds2)
crates/ruff_benchmark/resources/large/dataset.py:1222
Function
test_add_inconsistent_dataset
(ds1)
crates/ruff_benchmark/resources/large/dataset.py:1177
Function
test_add_scalar
(ds1)
crates/ruff_benchmark/resources/large/dataset.py:1168
Function
test_aggregate_across_items
()
crates/ruff_benchmark/resources/large/dataset.py:895
Function
test_aggregate_selected_items_dfsu_save_to_new_file
(tmpdir)
crates/ruff_benchmark/resources/large/dataset.py:914
Function
test_aggregation_dataset_no_time
()
crates/ruff_benchmark/resources/large/dataset.py:782
Function
test_aggregation_workflows
(tmpdir)
crates/ruff_benchmark/resources/large/dataset.py:764
Function
test_aggregations
()
crates/ruff_benchmark/resources/large/dataset.py:791
Function
test_all
()
crates/ruff_python_literal/src/format.rs:860
Function
test_all_different_binding_kinds
()
crates/ty_python_core/src/builder/loop_bindings_visitor.rs:323
Function
test_all_ok
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT015.py:28
Function
test_all_rules
()
crates/ruff_linter/src/registry/rule_set.rs:390
Function
test_always_ok
(param)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT006.py:5
Function
test_annotated_literal_mixed_quotes
(user: AbstractBaseUser[Annotated[str, "max_length=20", Literal['user', "admin"]]])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote2.py:72
Function
test_annotated_non_typing_reference
(user: Annotated[str, Depends(get_foo)])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote.py:102
Function
test_annotated_non_typing_reference
(user: Annotated[str, Depends(get_foo)])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote2.py:97
Function
test_annotated_non_typing_reference
(user: Annotated[str, Depends(get_foo)])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote3.py:53
Function
test_anon_lines
()
crates/ruff_annotate_snippets/tests/formatter.rs:580
Function
test_anyio_async115_helpers
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC115.py:150
Function
test_anyio_async116_helpers
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC116.py:113
Method
test_assert_equal
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:30
Method
test_assert_false
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:27
Method
test_assert_greater
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:36
Method
test_assert_greater_equal
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:39
Method
test_assert_in
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:48
Method
test_assert_is
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:60
Method
test_assert_is_instance
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:66
Method
test_assert_is_none
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:54
Method
test_assert_is_not
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:63
Method
test_assert_is_not_instance
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:69
Method
test_assert_is_not_none
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:57
Method
test_assert_less
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:42
Method
test_assert_less_equal
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:45
Method
test_assert_not_equal
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:33
Method
test_assert_not_in
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:51
Method
test_assert_not_regex
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:75
Method
test_assert_not_regexp_matches
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:81
Function
test_assert_raises_keyword
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_0.py:65
Method
test_assert_regex
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:72
Method
test_assert_regexp_matches
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:78
Method
test_assert_true
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT009.py:8
Function
test_assign_attribute_of_instance
()
crates/ty_ide/src/inlay_hints.rs:2473
Function
test_assign_statement
()
crates/ty_ide/src/inlay_hints.rs:1512
Function
test_assign_statement_out_of_range
()
crates/ty_ide/src/inlay_hints.rs:2433
Function
test_assign_statement_with_type_annotation
()
crates/ty_ide/src/inlay_hints.rs:2360
Function
test_assignment
()
crates/ruff_python_parser/src/lexer.rs:2046
Function
test_async_comprehension_notebook
(python_version: PythonVersion)
crates/ruff_linter/src/linter.rs:1042
Function
test_async_for
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtskip8.py:43
Function
test_async_unformatted
( )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_basic.py:37
Function
test_async_with
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtskip8.py:60
Function
test_attribute
(arg: models.AbstractBaseUser["int"])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote3.py:33
Function
test_attribute_typing_literal
(arg: models.AbstractBaseUser[Literal["admin"]])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote3.py:42
Function
test_auto_import_enum_member
()
crates/ty_ide/src/inlay_hints.rs:8344
Function
test_auto_import_enum_member_unimported_class
()
crates/ty_ide/src/inlay_hints.rs:8487
Function
test_auto_import_method_returning_nested_class
()
crates/ty_ide/src/inlay_hints.rs:8550
Function
test_auto_import_nested_class
()
crates/ty_ide/src/inlay_hints.rs:8410
Function
test_auto_import_other_symbols
()
crates/ty_ide/src/inlay_hints.rs:7971
Function
test_auto_import_same_file_method_returning_nested_class
()
crates/ty_ide/src/inlay_hints.rs:8591
Function
test_auto_import_same_name_different_modules_both_qualified
()
crates/ty_ide/src/inlay_hints.rs:8059
Function
test_auto_import_same_name_different_modules_one_qualified
()
crates/ty_ide/src/inlay_hints.rs:8143
Function
test_auto_import_symbol_imported_from_different_path
()
crates/ty_ide/src/inlay_hints.rs:7782
Function
test_auto_import_symbol_in_scope_same_name
()
crates/ty_ide/src/inlay_hints.rs:8262
Function
test_auto_import_typing_literal
()
crates/ty_ide/src/inlay_hints.rs:7904
Function
test_auto_import_with_qualification_of_names
()
crates/ty_ide/src/inlay_hints.rs:7477
Function
test_auto_import_with_update_import_from_statement
()
crates/ty_ide/src/inlay_hints.rs:7629
Function
test_await_scope_notebook
()
crates/ruff_linter/src/linter.rs:1094
Function
test_bad_suggestions_do_not_trigger_for_small_names
(typo: &str)
crates/ty_python_semantic/src/diagnostic/levenshtein.rs:271
Function
test_bar
(param1, param2)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT023.py:90
Function
test_basic_ti_xcom_pull
()
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:317
Function
test_binary_expression_return_type_annotation
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_no_parameters.py:161
Function
test_break_in_if_orelse
should raise a useless-else-on-loop message due to break in else
crates/ruff_linter/resources/test/fixtures/pylint/useless_else_on_loop.py:106
Function
test_break_in_match
no false positive for break in match
crates/ruff_linter/resources/test/fixtures/pylint/useless_else_on_loop.py:129
Function
test_break_in_orelse_deep
no false positive for break in else deeply nested
crates/ruff_linter/resources/test/fixtures/pylint/useless_else_on_loop.py:63
Function
test_break_in_orelse_deep2
should raise a useless-else-on-loop message, as the break statement is only for the inner for loop
crates/ruff_linter/resources/test/fixtures/pylint/useless_else_on_loop.py:77
Function
test_break_in_orelse_deep3
no false positive for break deeply nested in else
crates/ruff_linter/resources/test/fixtures/pylint/useless_else_on_loop.py:93
Function
test_break_in_with
no false positive for break in with
crates/ruff_linter/resources/test/fixtures/pylint/useless_else_on_loop.py:118
← previous
next →
29,101–29,200 of 31,562, ranked by callers