MCPcopy Create free account

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

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

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
Functionmethods_dont_use_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2907
Functionmigration_name
()
crates/ruff_python_stdlib/src/identifiers.rs:136
Functionminimum_depth
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:379
Functionmismatched_types1
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3243
Functionmismatched_types2
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3326
Functionmismatching_lang
()
crates/mdtest/src/parser.rs:1748
Functionmissing_argfile_reports_error
Regression test for https://github.com/astral-sh/ruff/issues/20655
crates/ruff/tests/integration_test.rs:1924
Functionmissing_baseline_is_reported
()
crates/ty/tests/cli/baseline.rs:449
Functionmissing_colon_google_style_section
Toggle the gizmo. Args note: A random string.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:277
Functionmissing_dependency_does_not_use_declared_default
()
crates/ty_python_semantic/src/types/generics.rs:5720
Functionmissing_file
()
crates/ruff_db/src/diagnostic/render/concise.rs:211
Functionmissing_file
()
crates/ruff_db/src/diagnostic/render/pylint.rs:84
Functionmissing_file
()
crates/ruff_db/src/diagnostic/render/json.rs:274
Functionmissing_file
()
crates/ruff_db/src/diagnostic/render/github.rs:210
Functionmissing_file_and_range
()
crates/ruff_db/src/diagnostic/render/grouped.rs:319
Functionmissing_file_preview
()
crates/ruff_db/src/diagnostic/render/rdjson.rs:243
Functionmissing_file_stable
()
crates/ruff_db/src/diagnostic/render/rdjson.rs:229
Functionmissing_fstring_syntax_backslash_py311
()
crates/ruff_linter/src/rules/ruff/mod.rs:244
Functionmissing_modules_do_not_create_file_inputs
()
crates/ty_module_resolver/src/resolve.rs:2141
Methodmissing_return
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066_custom_property_decorator.py:6
Functionmissing_semicolon
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1584
Functionmissing_virtual_env
()
crates/ty/tests/cli/python_environment.rs:2335
Functionmissing_virtual_env_does_not_panic
()
crates/ty_server/tests/e2e/initialize.rs:566
Methodmixed
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, prefix: impl IntoIterator<Item = Typ
crates/ty_python_semantic/src/types/tuple.rs:211
Functionmixed_class_assignment
(x)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:305
Functionmixed_evidence_may_use_a_caller_typevars_declared_bound
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:484
Functionmixed_function_assignment
(x)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:293
Functionmixed_indentation
Arguments: arg1: super duper arg with a tab and a space in front
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_tab_indentation.py:51
Functionmixed_levels
()
crates/ruff/tests/cli/lint.rs:121
Functionmixed_line_endings
()
crates/ruff/tests/cli/format.rs:393
Functionmixed_string_and_bytes_literals
()
crates/ty_ide/src/semantic_tokens.rs:4423
Methodmixed_with_segment
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, prefix: impl IntoIterator<Item = Typ
crates/ty_python_semantic/src/types/tuple.rs:227
Methodmixing_old_and_new_style_type_vars
(self: _S695, a: T, b: T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:89
Functionmocked_typeshed_existing_namespace_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1309
Functionmocked_typeshed_existing_namespace_stdlib_pkg_py39
()
crates/ty_module_resolver/src/path.rs:1458
Functionmocked_typeshed_existing_regular_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1272
Functionmocked_typeshed_existing_regular_stdlib_pkgs_py39
()
crates/ty_module_resolver/src/path.rs:1413
Functionmocked_typeshed_nonexistent_namespace_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1371
Functionmocked_typeshed_nonexistent_namespace_stdlib_pkg_py39
()
crates/ty_module_resolver/src/path.rs:1484
Functionmocked_typeshed_nonexistent_regular_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1352
Functionmocked_typeshed_nonexistent_single_file_module_py38
()
crates/ty_module_resolver/src/path.rs:1394
Functionmocked_typeshed_single_file_stdlib_module_py38
()
crates/ty_module_resolver/src/path.rs:1333
Functionmod_expression_fields
(node: &ast::ModExpression)
crates/ruff_python_ast/src/comparable.rs:2091
Functionmod_module_fields
(node: &ast::ModModule)
crates/ruff_python_ast/src/comparable.rs:2082
Functionmodel_assign
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N806.py:45
Functionmodification
()
crates/ruff_linter/src/noqa.rs:3349
Functionmodified_range
( unformatted: &str, formatted: &str, expect_unformatted: Range<u32>, expect_f
crates/ruff/src/commands/format.rs:1388
Functionmodifying_pth_file_invalidates_dynamic_resolution_paths
()
crates/ty_module_resolver/src/resolve.rs:3280
Methodmodule
()
crates/ruff_python_semantic/src/definition.rs:27
Methodmodule
Creates a new `Import` to import the specified module.
crates/ruff_python_semantic/src/imports.rs:82
Methodmodule
(self)
crates/ruff_python_ast/src/generated.rs:53
Methodmodule
(&self, module: &str)
crates/ty_ide/src/importer.rs:22
Functionmodule_annotate_pre_py314_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1185
Functionmodule_annotate_py314_available
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1170
Functionmodule_annotations
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1157
Functionmodule_api
()
crates/ty_ide/src/completion.rs:3673
Functionmodule_conflict_with_other_import
()
crates/ty_ide/src/importer.rs:783
Functionmodule_docstring_classification
()
crates/ty_ide/src/semantic_tokens.rs:3553
Functionmodule_enumeration_combines_partial_stub_namespaces_with_source_packages
()
crates/ty_module_resolver/src/resolve/search.rs:1345
Functionmodule_enumeration_combines_stub_overrides_with_source_siblings
()
crates/ty_module_resolver/src/resolve/search.rs:1378
Functionmodule_enumeration_excludes_local_files_with_protected_standard_library_names
()
crates/ty_module_resolver/src/resolve/search.rs:1288
← previousnext →24,901–25,000 of 31,766, ranked by callers