MCPcopy Create free account

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

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

Methodclass_member_with_policy_inner
( db: &'db dyn Db, key: MemberLookupKey<'db>, )
crates/ty_python_semantic/src/types.rs:4508
Functionclass_metaclass
()
crates/ty_ide/src/completion.rs:4556
Functionclass_metaclass_generic
()
crates/ty_ide/src/completion.rs:4803
Functionclass_metaclass_set
()
crates/ty_ide/src/completion.rs:4570
Methodclass_method
(cls)
crates/ruff_linter/resources/test/fixtures/pylint/no_method_decorator.py:22
Methodclass_method
(cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:18
Methodclass_method_bound
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:74
Methodclass_method_unbound
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:77
Methodclass_method_with_positional_only_argument
(cls, x, /, other)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:34
Functionclass_multiple_bases_already_specified
()
crates/ty_ide/src/completion.rs:4653
Methodclass_params_from_method
Extract parameters from a specific method (`__init__` or `__call__`) of a class.
crates/ruff_linter/src/rules/fastapi/rules/fastapi_unused_path_parameter.rs:378
Functionclass_prefix1
()
crates/ty_ide/src/completion.rs:4417
Functionclass_prefix2
()
crates/ty_ide/src/completion.rs:4437
Functionclass_scope
()
crates/ty_python_core/src/lib.rs:1465
Functionclass_scope_loads_resolve_local_and_enclosing_definitions
()
crates/ty_python_semantic/src/semantic_model.rs:1445
Functionclass_super1
()
crates/ty_ide/src/completion.rs:4490
Functionclass_super2
()
crates/ty_ide/src/completion.rs:4507
Functionclass_super3
()
crates/ty_ide/src/completion.rs:4524
Functionclass_super4
()
crates/ty_ide/src/completion.rs:4541
Functionclass_type
()
crates/ty_python_semantic/src/semantic_model.rs:1218
Functionclass_type_parameters
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:114
Functionclass_type_parameters
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:105
Functionclass_typed_dict_total
()
crates/ty_ide/src/completion.rs:4817
Functionclass_typed_dict_total_alias
()
crates/ty_ide/src/completion.rs:4834
Functionclass_typed_dict_total_pep695_generic
()
crates/ty_ide/src/completion.rs:4888
Functionclass_typed_dict_total_set
()
crates/ty_ide/src/completion.rs:4851
Functionclass_typed_dict_total_subclass
()
crates/ty_ide/src/completion.rs:4868
Functionclass_typed_dict_total_typevar_generic
()
crates/ty_ide/src/completion.rs:4905
Functionclass_under_the_func_with_blank_parentheses
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_blank_parentheses.py:16
Functionclass_with_base_call
()
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:632
Functionclassifies_flow_graph_cycles
()
crates/ty_python_semantic/src/types/cyclic.rs:1393
Functionclassifies_only_supported_fixture_requests
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:1963
Functionclassifies_recursive_parameter_flows
()
crates/ty_python_semantic/src/types/cyclic.rs:1554
Methodclassify
( section_kind: HeaderKind, line: ParsedLine<'a>, also_parses_as_section_header: bool,
crates/ty_ide/src/docstring/document/google.rs:703
Methodclassify
( db: &'db dyn Db, env: &'a ProgramEnvironment<'db>, source_parameters: &'a FxHashSet<
crates/ty_python_semantic/src/types/cyclic.rs:693
Methodclassify
Use the keyword rule only if relaxing the superclass's keyword requirements makes the entire override assignable.
crates/ty_python_semantic/src/types/overrides.rs:1579
Functionclassmethod_decorators
()
crates/ruff_linter/src/rules/pep8_naming/mod.rs:112
Methodclassmethod_named_self
(self)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:13
Functionclause
Formats a clause, handling the case where the compound statement lies on a single line with `# fmt: skip` and should be suppressed.
crates/ruff_python_formatter/src/statement/clause.rs:564
Methodclause_body
(&self)
crates/ruff_python_formatter/src/statement/clause.rs:556
Methodclause_header
(&self)
crates/ruff_python_formatter/src/statement/clause.rs:547
Methodclause_start
(ranged: impl Ranged)
crates/ruff_python_formatter/src/statement/clause.rs:678
Methodclear_screen
()
crates/ty/src/printer.rs:105
Methodclear_screen
()
crates/ruff/src/printer.rs:445
Methodcli
(path: impl AsRef<SystemPath>)
crates/ty_project/src/metadata/value.rs:43
Methodcli
(value: T)
crates/ruff_ranged_value/src/lib.rs:184
Methodcli
(selector: impl Into<String>)
crates/ruff_linter/src/rule_selector.rs:61
Functioncli_all_rules_ignore
()
crates/ty/tests/cli/rule_selection.rs:1114
Functioncli_all_rules_precedence
()
crates/ty/tests/cli/rule_selection.rs:1192
Functioncli_all_rules_warn
()
crates/ty/tests/cli/rule_selection.rs:1147
Functioncli_and_configuration_exclude
()
crates/ty/tests/cli/file_selection.rs:1061
Functioncli_arguments_are_relative_to_the_current_directory
()
crates/ty/tests/cli/main.rs:245
Functioncli_arguments_override_script_environment
()
crates/ty/tests/cli/scripts.rs:692
Functioncli_arguments_override_script_options
()
crates/ty/tests/cli/scripts.rs:540
Functioncli_baseline_path
()
crates/ty/tests/cli/baseline.rs:313
Functioncli_config_args_invalid_option
()
crates/ty/tests/cli/config_option.rs:114
Functioncli_config_args_later_overrides_earlier
()
crates/ty/tests/cli/config_option.rs:93
Functioncli_config_args_overrides_ty_toml
()
crates/ty/tests/cli/config_option.rs:45
Functioncli_config_args_toml_string_basic
()
crates/ty/tests/cli/config_option.rs:6
Functioncli_python_selects_script_interpreter_without_replacing_its_environment
()
crates/ty/tests/cli/scripts.rs:1984
Functioncli_removes_config_exclude
()
crates/ty/tests/cli/file_selection.rs:603
Functioncli_rule_severity
()
crates/ty/tests/cli/rule_selection.rs:69
Functioncli_rule_severity_precedence
()
crates/ty/tests/cli/rule_selection.rs:165
Functioncli_source_resolves_relative_to_cwd
()
crates/ty_project/src/metadata/value.rs:225
Functioncli_specific_then_all
()
crates/ty/tests/cli/rule_selection.rs:1237
Functioncli_unknown_rules
()
crates/ty/tests/cli/rule_selection.rs:479
Functioncli_unsupported_python_version
()
crates/ty/tests/cli/python_environment.rs:1093
Functionclient_options_rule_selectors_use_editor_source
()
crates/ruff_server/src/session/options.rs:525
Methodclone
(&self)
crates/ruff_db/src/system/path.rs:618
Methodclone_into
(&self, target: &mut IndexVec<I, T>)
crates/ruff_index/src/slice.rs:201
Functionclose
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:186
Methodclose
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:235
Methodclose_document
De-registers a document, specified by its key. Calling this multiple times for the same document is a logic error.
crates/ruff_server/src/session.rs:174
Methodclose_file
Closes a file in the project.
crates/ty_project/src/lib.rs:601
Methodclose_text_document
(&mut self, path: impl AsRef<Path>)
crates/ruff_server/tests/e2e/main.rs:740
Methodclose_workspace_folder
Close a workspace folder at the given `uri`.
crates/ruff_server/src/session.rs:191
Functionclosed_cached_stub_resolves_to_vendored_file
()
crates/ty_server/src/session.rs:2321
Functionclosed_external_file_respects_project_editor_settings
()
crates/ty_server/tests/e2e/closed_documents.rs:202
Functionclosed_recursive_alias_retains_its_identity
()
crates/ty_python_semantic/src/types/constraints/resolution.rs:487
Functionclosed_scripts_are_prepared_at_startup
()
crates/ty_server/tests/e2e/script_preparation.rs:16
Functionclosed_unrelated_file_uses_fallback_project
()
crates/ty_server/tests/e2e/closed_documents.rs:178
Methodcloser
The docstring's closing quotes.
crates/ruff_linter/src/docstrings/mod.rs:82
Functionclosest_to_furthest
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:1129
Functionclosing_deleted_file_clears_diagnostics_before_watcher_notification
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:1477
Functionclosing_external_file_preserves_open_files
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:1429
Functionclosure_use_does_not_mark_shadowed_binding_used
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:699
Functionclosure_uses_later_annotated_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:823
Functionclosure_uses_later_shadowing_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:793
Functionclosure_uses_nearest_shadowed_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:762
Methodcls_as_argument
(this, cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:54
Methodcls_as_kw_only_argument
(this, *, cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:60
Methodcls_as_kwargs
(this, **cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:66
Methodcls_as_pos_only_argument
(this, cls, /)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:57
Methodcls_as_varargs
(this, *cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:63
Methodcls_for
(event_name: str)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/regressions.py:5
Methodcls_method
(cls)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:500
Methodcls_method_a
( # fmt: off cls, )
crates/ruff_linter/resources/test/fixtures/ruff/RUF028.py:53
Methodcmp
(&self, other: &Self)
crates/ruff_ranged_value/src/lib.rs:332
Functioncoalesces_conditional_definitions
()
crates/ty_ide/src/pytest_test_discovery.rs:276
Functioncode_action
()
crates/ty_server/tests/e2e/code_actions.rs:49
← previousnext →16,801–16,900 of 31,562, ranked by callers