MCPcopy Create free account

hub / github.com/astral-sh/ruff / types & classes

Types & classes6,530 in github.com/astral-sh/ruff

↓ 2,270 callersClassOk
crates/ruff_linter/resources/test/fixtures/flake8_slots/SLOT000.py:20
↓ 95 callersClassTypeVar
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/mod.rs:49
↓ 77 callersClassPath
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:220
↓ 44 callersEnumCallable
crates/ruff_python_semantic/src/analyze/typing.rs:24
↓ 34 callersClassName
crates/ruff_python_ast/src/name.rs:21
↓ 32 callersClassClass
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/module.py:16
↓ 26 callersEnumTuple
crates/ty_python_semantic/src/types/tuple.rs:1948
↓ 24 callersClassBytes
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_bytes.py:37
↓ 22 callersClassDefinition
crates/ty_python_core/src/definition.rs:38
↓ 21 callersEnumLiteral
A literal that can be either a string or a bytes literal.
crates/ruff_linter/src/rules/ruff/rules/unnecessary_regular_expression.rs:366
↓ 19 callersEnumClassLiteral
crates/ty_python_semantic/src/types/class.rs:455
↓ 19 callersClassExpression
crates/ty_python_core/src/expression.rs:34
↓ 19 callersClassImport
crates/ruff_python_semantic/src/binding.rs:501
↓ 18 callersClassInt
crates/ruff_python_ast/src/int.rs:7
↓ 17 callersClassGeneric
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP049_0.py:2
↓ 16 callersClassFString
crates/ruff_python_ast/src/nodes.rs:1210
↓ 15 callersClassFile
crates/ruff_db/src/files.rs:339
↓ 15 callersClassSymbol
crates/ty_python_core/src/symbol.rs:21
↓ 14 callersEnumTag
crates/ruff_formatter/src/format_element/tag.rs:11
↓ 13 callersClassStringLiteral
crates/ruff_python_ast/src/nodes.rs:1700
↓ 13 callersClassTString
crates/ruff_python_ast/src/nodes.rs:1292
↓ 11 callersClassAll
crates/ruff_linter/src/noqa.rs:69
↓ 11 callersEnumBool
crates/ruff_linter/src/rules/flake8_simplify/rules/needless_bool.rs:333
↓ 11 callersClassOther
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:16
↓ 10 callersEnumApplySpecialization
crates/ty_python_semantic/src/types/generics.rs:1866
↓ 10 callersClassKeyword
crates/ruff_python_ast/src/nodes.rs:2831
↓ 10 callersClassList
List() doc
crates/ty_python_semantic/resources/corpus/70_class_doc_str.py:1
↓ 10 callersClassMessage
crates/ruff_annotate_snippets/src/snippet.rs:25
↓ 10 callersClassNewType
crates/ty_python_semantic/src/types/newtype.rs:26
↓ 10 callersInterfaceSystem
The system on which Ruff runs. Ruff supports running on the CLI, in a language server, and in a browser (WASM). Each of these host-systems differ in
crates/ruff_db/src/system.rs:48
↓ 10 callersClassUpperBound
crates/ty_python_semantic/src/types/constraints.rs:1287
↓ 9 callersEnumExpr
crates/ruff_python_ast/src/generated.rs:1298
↓ 9 callersClassFunctionLiteral
crates/ty_python_semantic/src/types/function.rs:721
↓ 9 callersClassMetadataError
Raised when historical run metadata is missing or inconsistent.
scripts/collect_ty_ecosystem_run_metadata.py:27
↓ 9 callersEnumNumber
crates/ruff_python_ast/src/int.rs:221
↓ 8 callersClassBytesLiteral
crates/ruff_python_ast/src/nodes.rs:2118
↓ 8 callersClassFloat
crates/ruff_linter/src/rules/ruff/rules/decimal_from_float_literal.rs:105
↓ 8 callersClassIdentifier
crates/ruff_python_ast/src/nodes.rs:3819
↓ 8 callersClassImport
crates/ty_ide/src/completion.rs:2434
↓ 8 callersClassObject
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B003.py:13
↓ 8 callersEnumPattern
crates/ruff_python_ast/src/generated.rs:3018
↓ 8 callersClassText
crates/ruff_formatter/src/builders.rs:350
↓ 8 callersEnumUnaryOp
crates/ruff_python_ast/src/nodes.rs:2706
↓ 7 callersClassCodeAction
crates/ty_wasm/src/lib.rs:1071
↓ 7 callersClassDict
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_index.py:16
↓ 7 callersEnumExceptHandler
crates/ruff_python_ast/src/generated.rs:2839
↓ 7 callersClassParameter
crates/ty_python_semantic/src/types/signatures.rs:3974
↓ 7 callersEnumSet
crates/ruff_dev/src/generate_options.rs:75
↓ 7 callersClassStrict
crates/ruff_benchmark/resources/pydantic/types.py:83
↓ 6 callersClassAssert
crates/ruff_linter/src/rules/flake8_bandit/rules/assert_used.rs:37
↓ 6 callersClassCallError
crates/ty_python_semantic/src/types/call.rs:232
↓ 6 callersEnumEnum
crates/ruff_cache/tests/cache_key.rs:93
↓ 6 callersClassExpressionContext
crates/ruff_python_parser/src/parser/expression.rs:3248
↓ 6 callersClassGenericAlias
crates/ty_python_semantic/src/types/class.rs:311
↓ 6 callersClassIndexed
crates/ty_project/src/files.rs:163
↓ 6 callersClassLine
crates/ruff_formatter/src/builders.rs:195
↓ 6 callersClassSmall
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:41
↓ 6 callersClassStr
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_str.py:37
↓ 6 callersEnumTypeAliasType
crates/ty_python_semantic/src/types/type_alias.rs:205
↓ 5 callersEnumAction
crates/ty_server/src/server/main_loop.rs:205
↓ 5 callersClassArray
crates/ruff_python_parser/resources/inline/ok/star_index_py311.py:3
↓ 5 callersClassEditorConfigurationTransformer
crates/ruff_server/src/session/index/ruff_settings.rs:408
↓ 5 callersInterfaceFormat
Formatting trait for types that can create a formatted representation. The `ruff_formatter` equivalent to [`std::fmt::Display`]. ## Example Implement
crates/ruff_formatter/src/lib.rs:596
↓ 5 callersClassImports
crates/ty_ide/src/symbols.rs:539
↓ 5 callersEnumLevel
crates/ruff_annotate_snippets/src/snippet.rs:177
↓ 5 callersEnumMatch
crates/ty_project/src/glob/exclude.rs:174
↓ 5 callersClassMember
crates/ty_python_core/src/member.rs:21
↓ 5 callersEnumMethod
crates/ruff_linter/src/rules/ruff/rules/asyncio_dangling_task.rs:169
↓ 5 callersEnumModule
crates/ty_module_resolver/src/module.rs:16
↓ 5 callersClassMyError
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:5
↓ 5 callersClassMySubError
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:9
↓ 5 callersClassMyValueError
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:13
↓ 5 callersClassNamed
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff5.py:68
↓ 5 callersClassNotebook
crates/ruff_notebook/src/notebook.rs:61
↓ 5 callersClassPredicate
crates/ty_python_core/src/predicate.rs:76
↓ 4 callersEnumBoolOp
crates/ruff_python_ast/src/nodes.rs:2581
↓ 4 callersClassClass
crates/ruff_linter/resources/test/fixtures/mccabe/C901.py:112
↓ 4 callersClassCommand
scripts/ty_benchmark/src/benchmark/__init__.py:15
↓ 4 callersClassComprehension
crates/ruff_python_ast/src/nodes.rs:2788
↓ 4 callersClassConstraint
crates/ty_python_semantic/src/types/constraints.rs:1231
↓ 4 callersClassConstraintSet
crates/ty_python_semantic/src/types/constraints.rs:328
↓ 4 callersClassDecimal
crates/ruff_linter/resources/test/fixtures/ruff/RUF032.py:62
↓ 4 callersClassF
crates/ruff_linter/resources/test/fixtures/ruff/RUF009_attrs.py:97
↓ 4 callersClassFormatted
crates/ruff_formatter/src/lib.rs:294
↓ 4 callersClassG
crates/ruff_linter/resources/test/fixtures/ruff/RUF009_attrs.py:102
↓ 4 callersClassGenerator
crates/ruff_python_codegen/src/generator.rs:90
↓ 4 callersClassModule
crates/ruff_python_semantic/src/definition.rs:54
↓ 4 callersClassNode
crates/ruff_python_ast/generate.py:140
↓ 4 callersClassNominalInstanceType
crates/ty_python_semantic/src/types/instance.rs:171
↓ 4 callersClassParameters
crates/ruff_python_ast/src/nodes.rs:3117
↓ 4 callersClassSpecialization
crates/ty_python_semantic/src/types/generics.rs:1081
↓ 4 callersEnumStmt
crates/ruff_python_ast/src/generated.rs:125
↓ 4 callersClassT
crates/ruff_linter/resources/test/fixtures/pylint/non_augmented_assignment.py:45
↓ 4 callersEnumType
crates/ty_python_semantic/src/types.rs:904
↓ 4 callersEnumTypeQualifier
crates/ty_python_semantic/src/types/special_form.rs:1006
↓ 4 callersClassUser
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:5
↓ 4 callersClassWidth
crates/ruff_formatter/src/format_element.rs:494
↓ 4 callersClassWithItem
crates/ruff_python_ast/src/nodes.rs:2851
↓ 3 callersClassAlias
crates/ruff_python_ast/src/nodes.rs:2841
↓ 3 callersClassAllowInfNan
crates/ruff_benchmark/resources/pydantic/types.py:121
next →1–100 of 6,530, ranked by callers