MCPcopy Create free account

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

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

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:1778
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:620
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:4995
Functionmetaclass2
()
crates/ty_ide/src/completion.rs:5060
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:219
Functionmetadata_changes_resynchronize_the_script_environment
()
crates/ty/tests/file_watching.rs:4242
Functionmetadata_range_accounts_for_unicode_crlf_and_multiline_values
()
crates/ruff_python_ast/src/script.rs:234
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 )
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:1739
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
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:113
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:119
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:124
Methodmethod
(self, _, a, A)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N803.py:6
Methodmethod
(self, _, a, A)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N803.py:18
Methodmethod
(self, _, a, badAllowed)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N803.py:8
Methodmethod
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:2
Methodmethod
(inner_self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:85
Methodmethod1
(self)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM117.py:131
Methodmethod1
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:613
Methodmethod1
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:13
Methodmethod1
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:48
Methodmethod1
(self, a: Literal[1])
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:69
Methodmethod1
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:160
Methodmethod2
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:617
Methodmethod2
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:16
Methodmethod2
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:51
Methodmethod2
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:163
Methodmethod3
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:19
Methodmethod3
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:54
Methodmethod3
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:166
Methodmethod4
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:22
Methodmethod4
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:57
Methodmethod5
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:25
Methodmethod5
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:60
Methodmethod6
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:28
Methodmethod6
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:63
Methodmethod7
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:31
Methodmethod8
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:34
Methodmethod9
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:37
Methodmethod_and_var
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal4.py:6
Methodmethod_available
Returns `true` if this error indicates the subscript method was available (even if the call failed). Returns `false` for `NotSubscriptable` errors.
crates/ty_python_semantic/src/types/subscript.rs:469
Functionmethod_call
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:1071
Functionmethod_calls
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:65
Methodmethod_docstring
(self)
crates/ruff_linter/resources/test/fixtures/flake8_implicit_str_concat/ISC003_docstring.py:33
Functionmethod_does_not_confuse_with_same_name_on_other_class
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:837
Functionmethod_on_ambiguous_numeric_type
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1836
Methodmethod_usage
(self)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A003.py:17
Methodmethod_with_default
(self, arg='default')
crates/ruff_python_parser/resources/valid/statement/class.py:23
← previousnext →24,701–24,800 of 31,562, ranked by callers