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
f34
( x: float = -math.nan, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:146
Function
f35
( # keyword only comment, leading *, # keyword only comment, trailing c, )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:247
Function
f35
( x: complex = math.inf # OK + 1j, )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:149
Function
f36
( *, x: str = sys.version, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:153
Function
f37
( *, x: str = "" # OK + "", )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:157
Function
f4
(*args: *b, arg1: int = 2)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/pep_646.py:190
Function
f4
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:14
Function
f4
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/annotated_global.py:23
Function
f4
(**kwargs: int | int | float)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:39
Function
f4
(a: "Uno[in\ t, float, Foo]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_4.py:7
Function
f4
(**kwargs: "int | int | float")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:39
Function
f4
(x: str = "51 character stringgggggggggggggggggggggggggggggg\U0001f600")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:19
Function
f4
()
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:252
Function
f4
(l, /, I)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E741.py:40
Function
f4
(x=(z := [1, ]))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_9.py:13
Function
f401_allowed_unused_imports_option
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:393
Function
f401_allowed_unused_imports_top_level_module
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:409
Function
f401_deprecated_option
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:375
Function
f401_preview_first_party_submodule
(contents: &str, snapshot: &str)
crates/ruff_linter/src/rules/pyflakes/mod.rs:297
Function
f401_preview_local_init_import
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:329
Function
f401_preview_refined_submodule_handling
(contents: &str, snapshot: &str)
crates/ruff_linter/src/rules/pyflakes/mod.rs:588
Function
f401_preview_refined_submodule_handling_diffs
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:451
Function
f401_stable
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:358
Function
f41
( a, / # 1 , # 2 # 3 * # 4 , # 5 c, )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:255
Function
f42
( a, / # 1 # 2 , # 3 # 4 * # 5 # 6 , # 7 c, )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:268
Function
f43
( __bar: str, /, **specifiers: typing.Any, # noqa: ANN401 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:282
Function
f5
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:42
Function
f5
(arg1: int, *args: Union[int, int, float])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:43
Function
f5
(arg1: "int", *args: "Union[int, int, float]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:43
Function
f5
(x: bytes = b"50 character byte stringgggggggggggggggggggggggggg")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:23
Function
f5
()
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:257
Function
f5
(l=0, *, I=1)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E741.py:44
Function
f5
(x=([1, ]))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_9.py:17
Function
f6
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:57
Function
f6
(arg1: int, *args: Union[Union[int, int, float]])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:47
Function
f6
(arg1: "int", *args: "Union[Union[int, int, float]]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:47
Function
f6
(x: bytes = b"51 character byte stringgggggggggggggggggggggggggg")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:27
Function
f6
(*l, **I)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E741.py:48
Function
f7
(arg1: int, *args: Union[Union[Union[int, int, float]]])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:51
Function
f7
(arg1: "int", *args: "Union[Union[Union[int, int, float]]]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:51
Function
f7
(x: bytes = b"50 character byte stringggggggggggggggggggggggggg\xff")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:31
Function
f8
(arg1: int, *args: Union[Union[Union[int | int | float]]])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:55
Function
f8
(arg1: "int", *args: "Union[Union[Union[int | int | float]]]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:55
Function
f8
(x: bytes = b"50 character byte stringgggggggggggggggggggggggggg\xff")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:35
Function
f811_annotated_assignment_redefinition
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:734
Function
f811_typing_modules_overload
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:721
Function
f821_frozendict_pre_py315_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:248
Function
f821_frozendict_py315_available
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:237
Function
f821_with_builtin_added_on_new_py_version_but_old_target_version_specified
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:227
Function
f841_dummy_variable_rgx
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:602
Function
f9
( arg: Union[ # comment float, # another complex, int] )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:59
Function
f9
( arg: """Union[ # comment float, # another complex, int]""" )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:59
Function
f_a
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:4
Function
f_a_empty
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:12
Function
f_a_short
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:8
Function
f_b
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:16
Function
f_bad_1
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B023.py:15
Function
f_byte
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM101_byte_string.py:1
Function
f_byte_empty
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM101_byte_string.py:5
Function
f_c
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:21
Function
f_fix_indentation_check
(foo)
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:49
Function
f_msg_defined
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:30
Function
f_msg_in_nested_scope
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:35
Function
f_msg_in_parent_scope
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:42
Function
f_multi_line_string
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:67
Function
f_multi_line_string2
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:74
Function
f_ok
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:25
Function
f_ok_1
(x)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B023.py:23
Method
f_string_expr
(self)
crates/ruff_python_ast/src/generated.rs:2249
Function
f_string_fields
(node: &ast::ExprFString)
crates/ruff_python_ast/src/comparable.rs:1280
Function
f_string_in_docstring_position
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:333
Function
f_string_in_docstring_position
()
crates/ruff_linter/resources/test/fixtures/flake8_implicit_str_concat/ISC003_docstring.py:42
Function
f_string_parts
()
crates/ruff_python_ast/src/nodes.rs:4117
Function
f_strings
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:150
Function
f_strings
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:141
Function
f_triple_quoted_string
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:63
Function
f_typing_cast_excluded
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:98
Function
f_typing_cast_excluded_aliased
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:108
Function
f_typing_cast_excluded_import
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:103
Function
fa100
(path: &Path)
crates/ruff_linter/src/rules/flake8_future_annotations/mod.rs:28
Function
fa102
(path: &Path)
crates/ruff_linter/src/rules/flake8_future_annotations/mod.rs:46
Function
fail
()
crates/ruff_linter/resources/test/fixtures/pylint/yield_from_in_async_function.py:5
Function
fail_1a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:38
Function
fail_1b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:42
Function
fail_2
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:46
Function
fail_3
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:51
Function
fail_4a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:58
Function
fail_4b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:63
Function
fail_4c
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:70
Function
fail_list
(seq)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:193
Function
fail_map
(mapping)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:184
Function
fail_nested_for_else
(some_list, other)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:230
Function
fail_nested_raise_bypasses_else
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:298
Function
fail_nested_return_bypasses_else
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:288
Function
fail_nested_while_else
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:241
Function
fail_try_else
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:258
Function
fail_try_except
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:250
Function
fail_try_finally
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:268
Function
failed_uv_script_synchronization_reports_an_error
()
crates/ty/tests/cli/scripts.rs:2101
Method
failing_func
(self)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_5.py:13
← previous
next →
19,101–19,200 of 31,562, ranked by callers