MCPcopy Create free account

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

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

Functionfy
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:78
Functionfz
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB154.py:84
Functiong
(a,)
crates/ruff_python_formatter/resources/test/fixtures/ruff/skip_magic_trailing_comma.py:26
Functiong
Statements that are only allowed in function bodies
crates/ruff_python_formatter/resources/test/fixtures/ruff/parentheses/opening_parentheses_comment_value.py:26
Functiong
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/empty_lines.py:56
Functiong
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments5.py:66
Functiong
Docstring.
crates/ruff_python_formatter/resources/test/fixtures/black/cases/function2.py:16
Functiong
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/python37.py:5
Functiong
()
crates/ruff_python_parser/resources/inline/ok/nested_async_comprehension_py310.py:6
Functiong
()
crates/ruff_python_parser/resources/inline/ok/iter_unpack_yield_py38.py:3
Functiong
()
crates/ruff_python_parser/resources/inline/ok/iter_unpack_yield_py37.py:3
Functiong
()
crates/ruff_python_parser/resources/inline/ok/nested_async_comprehension_py311.py:3
Functiong
(arg: (x := 1))
crates/ruff_python_parser/resources/inline/ok/valid_annotation_function_py313.py:3
Functiong
()
crates/ruff_python_parser/resources/inline/err/nested_async_comprehension_py310.py:3
Functiong
(arg: (x := 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function_py314.py:3
Functiong
(arg: (x := 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:4
Functiong
()
crates/ruff_python_parser/resources/inline/err/iter_unpack_yield_py37.py:3
Functiong
()
crates/ty_python_semantic/resources/corpus/60_try_finally_codeobj.py:4
Functiong
()
crates/ty_python_semantic/resources/corpus/77_class__class__no_class.py:2
Functiong
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB142.py:74
Functiong
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB187.py:53
Functiong
(x: third_party.bar)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001-3_future.py:9
Functiong
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:8
Functiong
(a)
crates/ruff_linter/resources/test/fixtures/semantic_errors/global_parameter.py:4
Functiong
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/async_comprehension_outside_async_function.py:8
Functiong
(a)
crates/ruff_linter/resources/test/fixtures/semantic_errors/nonlocal_parameter.py:4
Functiong
()
crates/ruff_linter/resources/test/fixtures/perflint/PERF401.py:243
Functiong
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT016.py:28
Functiong
Do nothing. Raises: OSError: If the OS errors.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC502_google.py:131
Functiong
(x)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_statements_params.py:7
Functiong
()
crates/ruff_linter/resources/test/fixtures/pylint/misplaced_bare_raise.py:40
Functiong
(cond:bool)
crates/ruff_linter/resources/test/fixtures/pylint/len_as_condition.py:196
Functiong
(x)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_branches_params.py:6
Functiong
()
crates/ruff_linter/resources/test/fixtures/pylint/nonlocal_without_binding.py:25
Functiong
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:135
Functiong
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B012.py:50
Functiong
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F901.py:5
Functiong
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F722.py:9
Functiong
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP028_0.py:6
Functiong
(x: "Literal['abc']#")
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP037_0.py:115
Functiong
(ts: tuple[*Ts])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP047_0.py:16
Functiong
(x: List[str])
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP006_4.py:9
Functiong
(x: __)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP049_1.py:54
Methodg
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:1002
Methodg
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:1009
Methodg
(self, other: Self)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:60
Methodg
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP036_0.py:83
Functiong1
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:5
Functiong2
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:7
Functiong3
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:9
Functiong4
(a,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:11
Functiong5
(a: int, b,)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_expansion.py:13
Methodgarply
Fetches the garply.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:40
Methodgen
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:16
Functiongenerate
()
crates/ruff_dev/src/generate_rules_table.rs:207
Functiongenerate
()
crates/ruff_dev/src/generate_default_rules.rs:11
Functiongenerate
()
crates/ruff_dev/src/generate_options.rs:11
Functiongenerate_corpus
Write the Python source for each requested seed to a directory.
python/py-fuzzer/fuzz.py:816
Functiongenerate_inline_tests
()
crates/ruff_python_parser/tests/generate_inline_tests.rs:24
Methodgenerator_expr
(self)
crates/ruff_python_ast/src/generated.rs:2027
Functiongenerator_expression_member
()
crates/ty_ide/src/completion.rs:4285
Functiongenerator_fields
(node: &ast::ExprGenerator)
crates/ruff_python_ast/src/comparable.rs:1204
Functiongenerator_function
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:203
Functiongenerator_function_2
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:211
Functiongenerator_function_3
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:219
Functiongenerator_function_4
Generate some strings
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:227
Functiongenerator_in_class
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:67
Methodgenerator_method
(self)
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:69
Functiongenerator_with_bare_stop_iteration
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:96
Functiongenerator_with_conditional_stop_iteration
(condition)
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:88
Functiongenerator_with_custom_exception
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:114
Functiongenerator_with_lambda
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:128
Functiongenerator_with_other_exception
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:29
Functiongenerator_with_return
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:13
Functiongenerator_with_runtime_error
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:109
Functiongenerator_with_stop_iteration
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:35
Functiongenerator_with_stop_iteration_expr
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:47
Functiongenerator_with_stop_iteration_in_loop
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:101
Functiongenerator_with_stop_iteration_value
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:41
Functiongenerator_with_yield_from
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:19
Functiongenerator_without_stop_iteration
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:23
Functiongeneric
(arg: T)
crates/ruff_linter/resources/test/fixtures/pylint/import_private_name/submodule/__main__.py:49
Functiongeneric_alias_cycle_recovery_normalizes_same_origin_unknown_oscillation
()
crates/ty_python_semantic/src/types/tests.rs:330
Functiongeneric_alias_cycle_recovery_rejects_unsafe_merges
()
crates/ty_python_semantic/src/types/tests.rs:340
Functiongeneric_callback_resolves_dependencies_per_alternative
()
crates/ty_python_semantic/src/types/call/bind.rs:11564
Functiongeneric_class
()
crates/ty_python_core/src/lib.rs:2003
Functiongeneric_class_members_in_annotations
()
crates/ty_ide/src/semantic_tokens.rs:3255
Functiongeneric_class_members_in_assert_type
()
crates/ty_ide/src/semantic_tokens.rs:3346
Functiongeneric_class_members_in_cast
()
crates/ty_ide/src/semantic_tokens.rs:3301
Functiongeneric_class_members_in_type_form_keyword_arguments
()
crates/ty_ide/src/semantic_tokens.rs:3391
Functiongeneric_deferred_in_stub
()
crates/ty_python_semantic/src/types/signatures.rs:7076
Methodgeneric_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
Functiongeneric_function
()
crates/ty_python_core/src/lib.rs:1955
Methodgeneric_instance_method
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:42
Methodgeneric_method
(t: T)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP046_0.py:112
Functiongeneric_not_deferred
()
crates/ty_python_semantic/src/types/signatures.rs:7022
Methodget
(&self, name: &str)
crates/ruff_python_semantic/src/globals.rs:51
Methodget
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal3.py:9
MethodgetLegend
()
playground/ty/src/Editor/Editor.tsx:290
FunctiongetWorker
(_, label)
playground/shared/src/setupMonaco.tsx:11
← previousnext →21,601–21,700 of 31,562, ranked by callers