Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,562 in github.com/astral-sh/ruff
⨍
Functions
31,562
◇
Types & classes
7,116
↳
Endpoints
82
Function
fy
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:78
Function
fz
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:84
Function
g
(a,)
crates/ruff_python_formatter/resources/test/fixtures/ruff/skip_magic_trailing_comma.py:26
Function
g
Statements that are only allowed in function bodies
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:26
Function
g
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/empty_lines.py:56
Function
g
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments5.py:66
Function
g
Docstring.
crates/ruff_python_formatter/resources/test/fixtures/black/cases/function2.py:16
Function
g
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/python37.py:5
Function
g
()
crates/ruff_python_parser/resources/inline/ok/nested_async_comprehension_py310.py:6
Function
g
()
crates/ruff_python_parser/resources/inline/ok/iter_unpack_yield_py38.py:3
Function
g
()
crates/ruff_python_parser/resources/inline/ok/iter_unpack_yield_py37.py:3
Function
g
()
crates/ruff_python_parser/resources/inline/ok/nested_async_comprehension_py311.py:3
Function
g
(arg: (x := 1))
crates/ruff_python_parser/resources/inline/ok/valid_annotation_function_py313.py:3
Function
g
()
crates/ruff_python_parser/resources/inline/err/nested_async_comprehension_py310.py:3
Function
g
(arg: (x := 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function_py314.py:3
Function
g
(arg: (x := 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:4
Function
g
()
crates/ruff_python_parser/resources/inline/err/iter_unpack_yield_py37.py:3
Function
g
()
crates/ty_python_semantic/resources/corpus/60_try_finally_codeobj.py:4
Function
g
()
crates/ty_python_semantic/resources/corpus/77_class__class__no_class.py:2
Function
g
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB142.py:74
Function
g
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB187.py:53
Function
g
(x: third_party.bar)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001-3_future.py:9
Function
g
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:8
Function
g
(a)
crates/ruff_linter/resources/test/fixtures/semantic_errors/global_parameter.py:4
Function
g
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/async_comprehension_outside_async_function.py:8
Function
g
(a)
crates/ruff_linter/resources/test/fixtures/semantic_errors/nonlocal_parameter.py:4
Function
g
()
crates/ruff_linter/resources/test/fixtures/perflint/PERF401.py:243
Function
g
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT016.py:28
Function
g
Do nothing. Raises: OSError: If the OS errors.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC502_google.py:131
Function
g
(x)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_statements_params.py:7
Function
g
()
crates/ruff_linter/resources/test/fixtures/pylint/misplaced_bare_raise.py:40
Function
g
(cond:bool)
crates/ruff_linter/resources/test/fixtures/pylint/len_as_condition.py:196
Function
g
(x)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_branches_params.py:6
Function
g
()
crates/ruff_linter/resources/test/fixtures/pylint/nonlocal_without_binding.py:25
Function
g
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:135
Function
g
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B012.py:50
Function
g
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F901.py:5
Function
g
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F722.py:9
Function
g
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP028_0.py:6
Function
g
(x: "Literal['abc']#")
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP037_0.py:115
Function
g
(ts: tuple[*Ts])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP047_0.py:16
Function
g
(x: List[str])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP006_4.py:9
Function
g
(x: __)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP049_1.py:54
Method
g
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:1002
Method
g
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:1009
Method
g
(self, other: Self)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:60
Method
g
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP036_0.py:83
Function
g1
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:5
Function
g2
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:7
Function
g3
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:9
Function
g4
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:11
Function
g5
(a: int, b,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:13
Method
garply
Fetches the garply.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:40
Method
gen
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:16
Function
generate
()
crates/ruff_dev/src/generate_rules_table.rs:207
Function
generate
()
crates/ruff_dev/src/generate_default_rules.rs:11
Function
generate
()
crates/ruff_dev/src/generate_options.rs:11
Function
generate_corpus
Write the Python source for each requested seed to a directory.
python/py-fuzzer/fuzz.py:816
Function
generate_inline_tests
()
crates/ruff_python_parser/tests/generate_inline_tests.rs:24
Method
generator_expr
(self)
crates/ruff_python_ast/src/generated.rs:2027
Function
generator_expression_member
()
crates/ty_ide/src/completion.rs:4285
Function
generator_fields
(node: &ast::ExprGenerator)
crates/ruff_python_ast/src/comparable.rs:1204
Function
generator_function
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:203
Function
generator_function_2
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:211
Function
generator_function_3
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:219
Function
generator_function_4
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:227
Function
generator_in_class
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:67
Method
generator_method
(self)
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:69
Function
generator_with_bare_stop_iteration
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:96
Function
generator_with_conditional_stop_iteration
(condition)
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:88
Function
generator_with_custom_exception
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:114
Function
generator_with_lambda
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:128
Function
generator_with_other_exception
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:29
Function
generator_with_return
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:13
Function
generator_with_runtime_error
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:109
Function
generator_with_stop_iteration
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:35
Function
generator_with_stop_iteration_expr
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:47
Function
generator_with_stop_iteration_in_loop
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:101
Function
generator_with_stop_iteration_value
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:41
Function
generator_with_yield_from
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:19
Function
generator_without_stop_iteration
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:23
Function
generic
(arg: T)
crates/ruff_linter/resources/test/fixtures/pylint/import_private_name/submodule/__main__.py:49
Function
generic_alias_cycle_recovery_normalizes_same_origin_unknown_oscillation
()
crates/ty_python_semantic/src/types/tests.rs:330
Function
generic_alias_cycle_recovery_rejects_unsafe_merges
()
crates/ty_python_semantic/src/types/tests.rs:340
Function
generic_callback_resolves_dependencies_per_alternative
()
crates/ty_python_semantic/src/types/call/bind.rs:11564
Function
generic_class
()
crates/ty_python_core/src/lib.rs:2003
Function
generic_class_members_in_annotations
()
crates/ty_ide/src/semantic_tokens.rs:3255
Function
generic_class_members_in_assert_type
()
crates/ty_ide/src/semantic_tokens.rs:3346
Function
generic_class_members_in_cast
()
crates/ty_ide/src/semantic_tokens.rs:3301
Function
generic_class_members_in_type_form_keyword_arguments
()
crates/ty_ide/src/semantic_tokens.rs:3391
Function
generic_deferred_in_stub
()
crates/ty_python_semantic/src/types/signatures.rs:7076
Method
generic_filtering
Create an intersection constraint that preserves generic arguments already known about the subject when narrowing it to a subclass.
crates/ty_python_semantic/src/types/narrow.rs:1143
Function
generic_function
()
crates/ty_python_core/src/lib.rs:1955
Method
generic_instance_method
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:42
Method
generic_method
(t: T)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP046_0.py:112
Function
generic_not_deferred
()
crates/ty_python_semantic/src/types/signatures.rs:7022
Method
get
(&self, name: &str)
crates/ruff_python_semantic/src/globals.rs:51
Method
get
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal3.py:9
Method
getLegend
()
playground/ty/src/Editor/Editor.tsx:290
Function
getWorker
(_, label)
playground/shared/src/setupMonaco.tsx:11
← previous
next →
21,601–21,700 of 31,562, ranked by callers