MCPcopy Create free account

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

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

Functionfunc
(match: case, case: match)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/pattern_matching_extras.py:24
Functionfunc
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/context_managers_39.py:70
Functionfunc
(a: T, b: T, c: T, d: T, e: T, f: T, g: T, h: T, i: T, j: T, k: T, l: T, m: T, n: T, o: T, p: T)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/generics_wrapping.py:107
Functionfunc
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_import_line_collapse.py:40
Functionfunc
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments3.py:5
Functionfunc
( a=some_list[0], # type: int )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments6.py:86
Functionfunc
( arg1, arg2, )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__type_annotations.py:1
Functionfunc
()
crates/ruff_python_parser/resources/inline/err/lazy_import_invalid_from_py315.py:5
Functionfunc
()
crates/ruff_python_parser/resources/inline/err/lazy_import_invalid_context_py315.py:12
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/assert.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/simple.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/try.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/if.py:1
Functionfunc
(status)
crates/ruff_linter/resources/test/fixtures/control-flow-graph/match.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/async-for.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/while.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/for.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/control-flow-graph/raise.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB188.py:203
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB122.py:123
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:89
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB167.py:1
Functionfunc
(rows)
crates/ruff_linter/resources/test/fixtures/refurb/FURB118.py:168
Functionfunc
(value: DataFrame)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote.py:59
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC010_3.py:13
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC010_2.py:8
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC010_1.py:10
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/typing_modules_1.py:6
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/typing_modules_2.py:6
Functionfunc
(x: Union[list, Optional[int | str | float | bool]])
crates/ruff_linter/resources/test/fixtures/flake8_boolean_trap/FBT.py:103
Functionfunc
A function-level docstring with a Sphinx directive. Examples: This is an example. .. code-block:: python returns = "not a s
crates/ruff_linter/resources/test/fixtures/pydocstyle/sphinx_directive.py:13
Functionfunc
Example: .. code-block:: python import foo
crates/ruff_linter/resources/test/fixtures/pydocstyle/sphinx.py:1
Functionfunc
\
crates/ruff_linter/resources/test/fixtures/pydocstyle/D200.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_comprehensions/C420.py:4
Functionfunc
(arg1: int, arg2: int = 4)
crates/ruff_linter/resources/test/fixtures/flake8_comprehensions/C417.py:25
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_comprehensions/C420_3.py:22
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_tidy_imports/TID254.py:22
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:1
Functionfunc
(a: dict[str, int])
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:412
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/invalid_star_expression.py:1
Functionfunc
(p)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM114.py:82
Functionfunc
(filepath, encoding)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM115.py:262
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM113.py:1
Functionfunc
(arg: type[int] | str | type[float])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI055.py:14
Functionfunc
(arg: _UsedTypeVar)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI018.py:14
Functionfunc
(x: complex | Literal[1J], y: Union[Literal[3.14], float])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI051.py:12
Functionfunc
(arg: _UsedPrivateTypeAlias)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI047.py:12
Functionfunc
( arg1, # type: dict[str, int] # error arg2 # type: Sequence[bytes] # And here's some more info ab
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI033.py:13
Functionfunc
Docstrings are excluded from this rule. Some padding.
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:52
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF017_0.py:18
Functionfunc
(a, b)
crates/ruff_linter/resources/test/fixtures/ruff/RUF061_raises.py:4
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:50
Functionfunc
(sized: local_module.Container)
crates/ruff_linter/resources/test/fixtures/ruff/RUF101_1.py:12
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF020.py:20
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC251.py:5
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC109_1.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC109_0.py:6
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC105.py:4
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC110.py:6
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC230.py:28
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC22x.py:7
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC100.py:7
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC115.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT011.py:18
Functionfunc
(version=ssl.PROTOCOL_SSLv2)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S503.py:6
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY003.py:5
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY002.py:10
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:25
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/pylint/too_many_locals.py:1
Functionfunc
(a)
crates/ruff_linter/resources/test/fixtures/pylint/redefined_argument_from_local.py:2
Functionfunc
(*args, **kwargs)
crates/ruff_linter/resources/test/fixtures/pylint/unspecified_encoding.py:23
Functionfunc
(ápple_count)
crates/ruff_linter/resources/test/fixtures/pylint/non_ascii_name.py:8
Functionfunc
(arg: qq)
crates/ruff_linter/resources/test/fixtures/pylint/import_private_name/submodule/__main__.py:39
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/numpy/NPY201.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/numpy/NPY003.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/numpy/NPY201_2.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/numpy/NPY201_3.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:178
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_logging/LOG009.py:1
Functionfunc
(a: str, b: int)
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_33.py:11
Functionfunc
(_, a, A)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N803.py:1
Functionfunc
(x)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:77
Functionfunc
(x)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:55
Functionfunc
(_, a, badAllowed)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N803.py:1
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP028_0.py:53
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP043.py:4
Functionfunc
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP017.py:1
Methodfunc
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off_decorator.py:20
Methodfunc
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_dict_values.py:128
Methodfunc
()
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:314
Methodfunc
(self)
crates/ruff_linter/resources/test/fixtures/pylint/no_self_use.py:35
Functionfunc1
(str, /, type, *complex, Exception, **getattr)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A002.py:1
Functionfunc1
(str, /, type, *complex, Exception, **getattr)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A006.py:9
Functionfunc1
(arg1: Literal[None])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI061.py:4
Functionfunc1
(arg1: int | int)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI016.py:10
Functionfunc1
(arg1: Literal[1] | Literal[2])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI030.py:12
Functionfunc1
(arg1: Literal[True, False])
crates/ruff_linter/resources/test/fixtures/ruff/RUF038.py:4
Methodfunc1
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:63
Functionfunc10
(x: U[int, U[None, list | set]])
crates/ruff_linter/resources/test/fixtures/ruff/RUF036.py:46
Functionfunc11
(x: None | int)
crates/ruff_linter/resources/test/fixtures/ruff/RUF036.py:51
← previousnext →21,501–21,600 of 31,766, ranked by callers