MCPcopy Create free account

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

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

Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/exempt_modules.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote2.py:1
Functionf
(x: first_party.foo)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001-3_future.py:8
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC004_9.py:13
Functionf
(x: Iterable[int])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001-3_future_strict.py:12
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/strict.py:4
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote3.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001.py:7
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC003.py:7
Functionf
Here's a line without a period
crates/ruff_linter/resources/test/fixtures/pydocstyle/D400.py:1
Functionf
Here's a line ending in a question mark?
crates/ruff_linter/resources/test/fixtures/pydocstyle/D400_415.py:1
Functionf
Do something. Args: x: the value with a hanging indent Returns: the value
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:1
Functionf
Showcase function. Parameters ---------- a : int _description_ b : int _description_ Returns ------- int
crates/ruff_linter/resources/test/fixtures/pydocstyle/D410.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/isort/fit_line_length_pragma.py:9
Functionf
()
crates/ruff_linter/resources/test/fixtures/isort/skip.py:1
Functionf
()
crates/ruff_linter/resources/test/fixtures/isort/insert_empty_lines.py:6
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_comprehensions/C419.py:22
Functionf
()
crates/ruff_linter/resources/test/fixtures/flake8_commas/COM81.py:657
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/RUF072.py:207
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
← previousnext →18,901–19,000 of 31,766, ranked by callers