Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,766 in github.com/astral-sh/ruff
⨍
Functions
31,766
◇
Types & classes
7,128
↳
Endpoints
82
Function
foo
()
crates/ruff_linter/resources/test/fixtures/perflint/PERF403.py:1
Function
foo
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF026.py:31
Function
foo
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF070.py:5
Function
foo
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:109
Function
foo
(optional_arg=await bar())
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:10
Function
foo
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF067/modules/__init__.py:18
Function
foo
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF067/modules/okay.py:21
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_doubles_module_singleline.py:4
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_singles_mixed_quotes_module_singleline_var_2.py:3
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_doubles_mixed_quotes_module_singleline_var_2.py:3
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_singles_mixed_quotes_module_singleline_var_1.py:3
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_singles_module_multiline.py:7
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_doubles_mixed_quotes_module_singleline_var_1.py:3
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_singles_module_singleline.py:4
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_quotes/docstring_doubles_module_multiline.py:7
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E502.py:94
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/W391_4.py:2
Function
foo
(fun)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E204.py:1
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E402_0.py:38
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E23.py:17
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC250.py:1
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC210.py:7
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC212.py:6
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC230.py:5
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC22x.py:27
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC100.py:100
Function
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S113.py:24
Function
foo
First line. Raises: ValueError: some text .. versionadded:: 0.7.0 The ``init_kwargs`` argument.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC502_google.py:87
Function
foo
First line. Raises ------ ValueError some text .. versionadded:: 0.7.0 The ``init_kwargs`` argument.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC502_numpy.py:123
Function
foo
Foo. Args: bar: Bar.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC501_google.py:133
Function
foo
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_google.py:2
Function
foo
Foo. Returns ------- int 42
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC501_numpy.py:138
Function
foo
Foo. Args: param1 (int): The first parameter. param2 (:obj:`str`, optional): The second parameter. Defaults to None.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_google.py:198
Function
foo
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC202_numpy.py:2
Function
foo
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC403_numpy.py:2
Function
foo
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC202_google.py:2
Function
foo
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:2
Function
foo
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_numpy.py:2
Function
foo
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC403_google.py:2
Function
foo
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:2
Function
foo
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY201.py:73
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pylint/subprocess_popen_preexec_fn.py:4
Function
foo
(x: int, y: int)
crates/ruff_linter/resources/test/fixtures/pylint/swap_with_temporary_variable.py:2
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pylint/empty_comment.py:17
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:134
Function
foo
(a: list = [])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_8.py:1
Function
foo
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:26
Function
foo
(x)
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_0.py:1
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_36.py:15
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_32.py:9
Function
foo
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP037_1.py:7
Function
foo
(var: "MyClass")
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP037_0.py:18
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/fmt_skip.py:42
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/fmt_skip.py:47
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/semicolons.py:28
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/semicolons.py:33
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/semicolons.py:126
Method
foo
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/annotations.py:3
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_decorator_edge_case.py:5
Method
foo
(self, a: int)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/dummy_implementations.py:22
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:2
Method
foo
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:37
Method
foo
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:411
Method
foo
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/torture.py:14
Method
foo
(self)
crates/ty_python_semantic/resources/corpus/71_class_meth.py:3
Method
foo
(self, bar)
crates/ty_python_semantic/resources/corpus/75_classderef_no.py:3
Method
foo
(self)
crates/ty_python_semantic/resources/corpus/72_class_mix.py:6
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:9
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:14
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:28
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:44
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:53
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:58
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:64
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:73
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:82
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/refurb/FURB180.py:91
Method
foo
(self, x: Union[MutableMapping, Mapping])
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/singledispatchmethod.py:11
Method
foo
(self, value: bool)
crates/ruff_linter/resources/test/fixtures/flake8_boolean_trap/FBT.py:89
Method
foo
Docstring for foo.
crates/ruff_linter/resources/test/fixtures/pydocstyle/setter.py:3
Method
foo
The foo of the thing, which isn't in imperative mood.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:51
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pie/PIE794.py:15
Method
foo
()
crates/ruff_linter/resources/test/fixtures/flake8_annotations/shadowed_builtins.py:16
Method
foo
(self: "Foo", a: int, b: int)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/annotation_presence.py:71
Method
foo
(bar)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:56
Method
foo
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:54
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:65
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:16
Method
foo
(cls)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:21
Method
foo
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:26
Method
foo
(cls)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:33
Method
foo
(cls)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:38
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:45
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:50
Method
foo
(cls)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:55
Method
foo
(cls)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:60
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:65
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:70
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:77
Method
foo
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:82
← previous
next →
20,501–20,600 of 31,766, ranked by callers