MCPcopy Create free account

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

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

Functionf
()
crates/ruff_linter/resources/test/fixtures/syntax_errors/yield_scope.py:8
Functionf
()
crates/ruff_linter/resources/test/fixtures/syntax_errors/yield_from_in_async_function.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/syntax_errors/return_outside_function.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_pie/PIE808.py:23
Functionf
(*args: *tuple[int])
crates/ruff_linter/resources/test/fixtures/flake8_annotations/annotation_presence.py:139
Functionf
(x=y)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:226
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:398
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET505.py:242
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_errmsg/EM.py:115
Functionf
(a)
crates/ruff_linter/resources/test/fixtures/semantic_errors/global_parameter.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/async_comprehension_outside_async_function.py:1
Functionf
(x: int)
crates/ruff_linter/resources/test/fixtures/semantic_errors/invalid_expression.py:5
Functionf
(a)
crates/ruff_linter/resources/test/fixtures/semantic_errors/nonlocal_parameter.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM210.py:10
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM103.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM111.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM110.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM101.py:44
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM102.py:162
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI015.py:51
Functionf
(x: "int")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI020.py:7
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI052.py:51
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI001.py:16
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI025_1.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/perflint/PERF403.py:217
Functionf
()
crates/ruff_linter/resources/test/fixtures/perflint/PERF402.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/perflint/PERF401.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/perflint/PERF102.py:4
Functionf
(arg: Optional[int] = None)
crates/ruff_linter/resources/test/fixtures/ruff/RUF013_2.py:4
Functionf
(arg: int = None)
crates/ruff_linter/resources/test/fixtures/ruff/RUF013_1.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_0.py:13
Functionf
Here's a docstring with an unusual parenthesis: )
crates/ruff_linter/resources/test/fixtures/ruff/confusables.py:5
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/ruff_noqa_all.py:6
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/ruff_noqa_codes.py:7
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/flake8_noqa.py:6
Functionf
(tup)
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_1.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF006.py:5
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/suppressions.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF046.py:104
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF100_0.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/ruff_noqa_invalid.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF037.py:5
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF100_5.py:13
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_2.py:4
Functionf
(arg: int)
crates/ruff_linter/resources/test/fixtures/ruff/RUF013_0.py:4
Functionf
(arg: typing.List[str] = None)
crates/ruff_linter/resources/test/fixtures/ruff/RUF013_3.py:4
Functionf
(x: Optional[str])
crates/ruff_linter/resources/test/fixtures/ruff/redirects.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF100_1.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF054.py:31
Functionf
(x)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E70.py:14
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT016.py:5
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT012.py:37
Functionf
(path, mode)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S103.py:30
Functionf
Do nothing. Raises: OSError: If the OS errors.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC502_google.py:118
Functionf
Returns 1.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_google.py:92
Functionf
Yields 1.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:71
Functionf
(self, x)
crates/ruff_linter/resources/test/fixtures/flake8_unused_arguments/ARG.py:9
Functionf
(a, b)
crates/ruff_linter/resources/test/fixtures/flake8_unused_arguments/ignore_variadic_names.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/pylint/too_many_statements.py:1
Functionf
(x, y, z, t, u, v, w, r)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_positional_arguments.py:1
Functionf
(x)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_statements_params.py:2
Functionf
()
crates/ruff_linter/resources/test/fixtures/pylint/global_variable_not_assigned.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/pylint/load_before_global_declaration.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/pylint/misplaced_bare_raise.py:34
Functionf
(x)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_branches_params.py:1
Functionf
(w, x, y, z, skip_t, skip_u, skip_v)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_positional_params.py:3
Functionf
(x)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_return_statements_params.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/pylint/redefined_loop_name.py:125
Functionf
(x, y, z, skip_t, skip_u, skip_v)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_arguments_params.py:3
Functionf
(x, y, z, t, u, v, w, r)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_arguments.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/pylint/nonlocal_without_binding.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B012.py:40
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B007.py:50
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_35.py:7
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_3.py:4
Functionf
(arg: "this isn't python")
crates/ruff_linter/resources/test/fixtures/pyflakes/F722_1.py:15
Functionf
(a: datetime, b: "datetime")
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_32.py:8
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:13
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_21.py:48
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_34.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_9.py:11
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F401_18.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F406.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F823.py:25
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F901.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F706.py:1
Functionf
(tup)
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_1.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F722.py:5
Functionf
(x: int)
crates/ruff_linter/resources/test/fixtures/pyflakes/future_annotations.py:34
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F701.py:12
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_2.py:5
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F842.py:1
Functionf
(arg: "A")
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_31.py:15
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/project/foo/bar.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyflakes/project/foo/bop/baz.py:1
Functionf
(x: Optional[str])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP045_1.py:5
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP036_0.py:30
Functionf
(x: Union[str, int, Union[float, bytes]])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP007_1.py:5
Functionf
(x: Union[str, int, Union[float, bytes]])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP007_2.py:5
Functionf
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP028_0.py:1
← previousnext →18,801–18,900 of 31,562, ranked by callers