MCPcopy Create free account

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

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

Functionf3
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:8
Functionf3
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/annotated_global.py:18
Functionf3
(arg1: int, *args: Union[int | int | float])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:35
Functionf3
(a: """Uno[int, float, Foo]""")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_4.py:6
Functionf3
(arg1: "int", *args: "Union[int | int | float]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:35
Functionf3
(x: str = "50 character stringggggggggggggggggggggggggggggg\U0001f600")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:15
Functionf3
()
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:247
Functionf3
Here's a multi-line docstring. It's over the limit on this line, which isn't the first line in the docstring.
crates/ruff_linter/resources/test/fixtures/pycodestyle/W505.py:28
Functionf3
Here's a multi-line ß9💣2ℝing. It's over theß9💣2ℝ on this line, which isn't the first line in the ß9💣2ℝing.
crates/ruff_linter/resources/test/fixtures/pycodestyle/W505_utf_8.py:28
Functionf3
(x=((x for x in "x"),))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_9.py:9
Methodf3
(self, arg: None | float | None | int | None = None)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_1.py:111
Methodf3
(self, arg: "None | float | None | int | None" = None)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI041_3.py:111
Functionf30
( x: float = -math.inf, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:134
Functionf31
( a=1, # positional only comment, leading /, # positional only comment, trailing b=2, # ke
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:204
Functionf31
( x: float = inf, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:137
Functionf32
( a, # positional only comment, leading /, # positional only comment, trailing b, # keywor
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:215
Functionf32
( x: float = np.inf, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:140
Functionf33
( a, # positional only comment, leading /, # positional only comment, trailing # keyword only
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:226
Functionf33
( x: float = math.nan, # OK )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:143
Functionf34
( a, # positional only comment, leading /, # positional only comment, trailing # keyword only
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:237
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:395
Functionf401_allowed_unused_imports_top_level_module
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:411
Functionf401_deprecated_option
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:377
Functionf401_preview_first_party_submodule
(contents: &str, snapshot: &str)
crates/ruff_linter/src/rules/pyflakes/mod.rs:299
Functionf401_preview_local_init_import
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:331
Functionf401_preview_refined_submodule_handling
(contents: &str, snapshot: &str)
crates/ruff_linter/src/rules/pyflakes/mod.rs:590
Functionf401_preview_refined_submodule_handling_diffs
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:453
Functionf401_stable
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:360
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:736
Functionf811_typing_modules_overload
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:723
Functionf821_frozendict_pre_py315_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:250
Functionf821_frozendict_py315_available
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:239
Functionf821_with_builtin_added_on_new_py_version_but_old_target_version_specified
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:229
Functionf841_dummy_variable_rgx
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:604
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:4130
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
← previousnext →19,201–19,300 of 31,766, ranked by callers