MCPcopy Create free account

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

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

Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/quoted_annotation.rs:96
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/context_manager_iterator.rs:76
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_class_parentheses.rs:39
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/non_pep646_unpack.rs:51
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/redundant_open_modes.rs:42
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/f_strings.rs:52
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/lru_cache_with_maxsize_none.rs:54
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/native_literals.rs:152
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/open_alias.rs:45
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/use_pep604_annotation.rs:74
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_builtin_import.rs:52
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/replace_stdout_stderr.rs:54
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/useless_metaclass_type.rs:38
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/convert_named_tuple_functional_to_class.rs:65
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/super_call_with_parameters.rs:63
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_unittest_alias.rs:51
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/use_pep585_annotation.rs:76
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_mock_import.rs:68
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/while_one.rs:39
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/useless_object_inheritance.rs:43
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/printf_string_formatting.rs:86
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/extraneous_parentheses.rs:34
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/lru_cache_without_parameters.rs:48
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_import.rs:81
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_future_import.rs:55
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_coding_comment.rs:38
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/use_pep604_isinstance.rs:83
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/typing_text_str_alias.rs:44
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/useless_class_metaclass_type.rs:42
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unicode_kind_prefix.rs:34
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/outdated_version_block.rs:65
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/type_of_primitive.rs:43
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/datetime_utc_alias.rs:49
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/non_pep695_type_alias.rs:111
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/non_pep695_generic_function.rs:94
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/private_type_parameter.rs:93
Methodmessage
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/non_pep695_generic_class.rs:144
Functionmessage_before_primary_snippet
()
crates/ruff_annotate_snippets/tests/formatter.rs:4500
Methodmessage_formats
()
crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs:165
Methodmessage_formats
()
crates/ruff_linter/src/rules/flake8_pytest_style/rules/fixture.rs:252
Methodmessage_formats
()
crates/ruff_linter/src/rules/pylint/rules/and_or_ternary.rs:42
Methodmessage_formats
()
crates/ruff_linter/src/rules/pyupgrade/rules/unpacked_list_comprehension.rs:40
Functionmessage_with_related_information_support
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:692
Functionmessage_without_related_information_support
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:667
Functionmessages
()
crates/ruff/tests/cli/format.rs:596
Functionmeta_class_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1783
Methodmeta_write_requirement
Returns the write requirement exposed through `type[Protocol]` lookup. Only members required on every class object that satisfies the meta-protocol a
crates/ty_python_semantic/src/types/protocol_class.rs:633
Methodmetaclass
Returns the metaclass of this namedtuple. Namedtuples always have `type` as their metaclass.
crates/ty_python_semantic/src/types/class/named_tuple.rs:274
Methodmetaclass
Returns the metaclass of this `TypedDict`. `TypedDict`s use `type` as their metaclass.
crates/ty_python_semantic/src/types/class/typed_dict.rs:1003
Methodmetaclass
Get the metaclass of this dynamic class. Derives the metaclass from base classes: finds the most derived metaclass that is a subclass of all other ba
crates/ty_python_semantic/src/types/class/dynamic_literal.rs:263
Methodmetaclass
(self, db: &'db dyn Db)
crates/ty_python_semantic/src/types/class/enum_literal.rs:188
Functionmetaclass1
()
crates/ty_ide/src/completion.rs:5005
Functionmetaclass2
()
crates/ty_ide/src/completion.rs:5070
Methodmetadata
Returns the TOML contents of the metadata block.
crates/ruff_python_ast/src/script.rs:26
Methodmetadata
Returns the extracted metadata.
crates/ruff_options_metadata/src/lib.rs:29
Methodmetadata
(&self)
crates/ruff_notebook/src/cell.rs:37
Functionmetadata_block_range_includes_both_delimiters
()
crates/ruff_python_ast/src/script.rs:248
Functionmetadata_changes_resynchronize_the_script_environment
()
crates/ty/tests/file_watching.rs:4250
Functionmetadata_range_accounts_for_unicode_crlf_and_multiline_values
()
crates/ruff_python_ast/src/script.rs:263
Functionmetadata_without_tool_ty_inherits_project_settings_and_overrides
()
crates/ty/tests/cli/scripts.rs:248
Methodmeth_apple
(self)
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/module.py:18
Methodmeth_azurous
(self)
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/module.py:20
Methodmethod
(&self, request_id: &RequestId)
crates/ty_server/src/session/request_queue.rs:83
Methodmethod
( self )
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/fmt_on_off.py:5
Methodmethod
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off_decorator.py:11
Methodmethod
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/allow_empty_first_line.py:60
Methodmethod
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/no_blank_line_before_docstring.py:14
Methodmethod
()
crates/ruff_python_parser/resources/valid/statement/class.py:15
Methodmethod
(self)
crates/ty_python_semantic/resources/corpus/cyclic_implicit_attr_union.py:7
Methodmethod
(self, x: T)
crates/ty_python_semantic/resources/corpus/88_regression_generic_method_with_nested_function.py:5
Methodmethod
( db: &'db dyn Db, callable: CallableType<'db>, definition: Option<Definition<'db>>,
crates/ty_python_semantic/src/types/protocol_class.rs:1797
Methodmethod
01234567
crates/ruff_linter/resources/test/fixtures/refurb/FURB156.py:46
Methodmethod
(self=None)
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:23
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_tidy_imports/TID255.py:32
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:158
Methodmethod
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:318
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF056.py:65
Methodmethod
(arg)
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:70
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:46
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:316
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:362
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:86
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/pylint/nonlocal_without_binding.py:50
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:19
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:25
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:31
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:37
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:43
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:49
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:55
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:61
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:67
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:72
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:78
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:83
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:88
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:93
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:98
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:103
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:108
← previousnext →24,801–24,900 of 31,766, ranked by callers