MCPcopy Create free account

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

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

Functionf34
( x: float = -math.nan, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:146
Functionf35
( # keyword only comment, leading *, # keyword only comment, trailing c, )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:247
Functionf35
( x: complex = math.inf # OK + 1j, )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:149
Functionf36
( *, x: str = sys.version, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:153
Functionf37
( *, x: str = "" # OK + "", )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:157
Functionf4
(*args: *b, arg1: int = 2)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/pep_646.py:190
Functionf4
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:14
Functionf4
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/annotated_global.py:23
Functionf4
(**kwargs: int | int | float)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:39
Functionf4
(a: "Uno[in\ t, float, Foo]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_4.py:7
Functionf4
(**kwargs: "int | int | float")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:39
Functionf4
(x: str = "51 character stringgggggggggggggggggggggggggggggg\U0001f600")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:19
Functionf4
()
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:252
Functionf4
(l, /, I)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E741.py:40
Functionf4
(x=(z := [1, ]))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_9.py:13
Functionf401_allowed_unused_imports_option
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:393
Functionf401_allowed_unused_imports_top_level_module
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:409
Functionf401_deprecated_option
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:375
Functionf401_preview_first_party_submodule
(contents: &str, snapshot: &str)
crates/ruff_linter/src/rules/pyflakes/mod.rs:297
Functionf401_preview_local_init_import
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:329
Functionf401_preview_refined_submodule_handling
(contents: &str, snapshot: &str)
crates/ruff_linter/src/rules/pyflakes/mod.rs:588
Functionf401_preview_refined_submodule_handling_diffs
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:451
Functionf401_stable
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:358
Functionf41
( a, / # 1 , # 2 # 3 * # 4 , # 5 c, )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:255
Functionf42
( a, / # 1 # 2 , # 3 # 4 * # 5 # 6 , # 7 c, )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:268
Functionf43
( __bar: str, /, **specifiers: typing.Any, # noqa: ANN401 )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:282
Functionf5
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:42
Functionf5
(arg1: int, *args: Union[int, int, float])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:43
Functionf5
(arg1: "int", *args: "Union[int, int, float]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:43
Functionf5
(x: bytes = b"50 character byte stringgggggggggggggggggggggggggg")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:23
Functionf5
()
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:257
Functionf5
(l=0, *, I=1)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E741.py:44
Functionf5
(x=([1, ]))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_9.py:17
Functionf6
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:57
Functionf6
(arg1: int, *args: Union[Union[int, int, float]])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:47
Functionf6
(arg1: "int", *args: "Union[Union[int, int, float]]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:47
Functionf6
(x: bytes = b"51 character byte stringgggggggggggggggggggggggggg")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:27
Functionf6
(*l, **I)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E741.py:48
Functionf7
(arg1: int, *args: Union[Union[Union[int, int, float]]])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:51
Functionf7
(arg1: "int", *args: "Union[Union[Union[int, int, float]]]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:51
Functionf7
(x: bytes = b"50 character byte stringggggggggggggggggggggggggg\xff")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:31
Functionf8
(arg1: int, *args: Union[Union[Union[int | int | float]]])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:55
Functionf8
(arg1: "int", *args: "Union[Union[Union[int | int | float]]]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:55
Functionf8
(x: bytes = b"50 character byte stringgggggggggggggggggggggggggg\xff")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:35
Functionf811_annotated_assignment_redefinition
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:734
Functionf811_typing_modules_overload
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:721
Functionf821_frozendict_pre_py315_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:248
Functionf821_frozendict_py315_available
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:237
Functionf821_with_builtin_added_on_new_py_version_but_old_target_version_specified
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:227
Functionf841_dummy_variable_rgx
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:602
Functionf9
( arg: Union[ # comment float, # another complex, int] )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:59
Functionf9
( arg: """Union[ # comment float, # another complex, int]""" )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:59
Functionf_a
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:4
Functionf_a_empty
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:12
Functionf_a_short
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:8
Functionf_b
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:16
Functionf_bad_1
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B023.py:15
Functionf_byte
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM101_byte_string.py:1
Functionf_byte_empty
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM101_byte_string.py:5
Functionf_c
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:21
Functionf_fix_indentation_check
(foo)
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:49
Functionf_msg_defined
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:30
Functionf_msg_in_nested_scope
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:35
Functionf_msg_in_parent_scope
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:42
Functionf_multi_line_string
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:67
Functionf_multi_line_string2
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:74
Functionf_ok
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:25
Functionf_ok_1
(x)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B023.py:23
Methodf_string_expr
(self)
crates/ruff_python_ast/src/generated.rs:2249
Functionf_string_fields
(node: &ast::ExprFString)
crates/ruff_python_ast/src/comparable.rs:1280
Functionf_string_in_docstring_position
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:333
Functionf_string_in_docstring_position
()
crates/ruff_linter/resources/test/fixtures/flake8_implicit_str_concat/ISC003_docstring.py:42
Functionf_string_parts
()
crates/ruff_python_ast/src/nodes.rs:4117
Functionf_strings
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:150
Functionf_strings
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:141
Functionf_triple_quoted_string
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:63
Functionf_typing_cast_excluded
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:98
Functionf_typing_cast_excluded_aliased
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:108
Functionf_typing_cast_excluded_import
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:103
Functionfa100
(path: &Path)
crates/ruff_linter/src/rules/flake8_future_annotations/mod.rs:28
Functionfa102
(path: &Path)
crates/ruff_linter/src/rules/flake8_future_annotations/mod.rs:46
Functionfail
()
crates/ruff_linter/resources/test/fixtures/pylint/yield_from_in_async_function.py:5
Functionfail_1a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:38
Functionfail_1b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:42
Functionfail_2
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:46
Functionfail_3
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:51
Functionfail_4a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:58
Functionfail_4b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:63
Functionfail_4c
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:70
Functionfail_list
(seq)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:193
Functionfail_map
(mapping)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:184
Functionfail_nested_for_else
(some_list, other)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:230
Functionfail_nested_raise_bypasses_else
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:298
Functionfail_nested_return_bypasses_else
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:288
Functionfail_nested_while_else
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:241
Functionfail_try_else
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:258
Functionfail_try_except
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:250
Functionfail_try_finally
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:268
Functionfailed_uv_script_synchronization_reports_an_error
()
crates/ty/tests/cli/scripts.rs:2101
Methodfailing_func
(self)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_5.py:13
← previousnext →19,101–19,200 of 31,562, ranked by callers