MCPcopy Create free account

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

Types & classes7,116 in github.com/astral-sh/ruff

↓ 2,773 callersClassOk
crates/ruff_linter/resources/test/fixtures/flake8_slots/SLOT000.py:20
↓ 164 callersClassTypeVar
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/mod.rs:49
↓ 97 callersClassPath
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:220
↓ 69 callersEnumCallable
crates/ruff_python_semantic/src/analyze/typing.rs:24
↓ 56 callersClassFile
crates/ruff_db/src/files.rs:359
↓ 52 callersClassClass
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/module.py:16
↓ 37 callersClassDefinition
crates/ty_python_core/src/definition.rs:41
↓ 34 callersClassName
crates/ruff_python_ast/src/name.rs:46
↓ 26 callersEnumClassLiteral
crates/ty_python_semantic/src/types/class.rs:608
↓ 25 callersEnumTuple
crates/ty_python_semantic/src/types/tuple.rs:2372
↓ 24 callersEnumApplySpecialization
crates/ty_python_semantic/src/types/generics.rs:2290
↓ 24 callersClassBytes
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_bytes.py:37
↓ 22 callersEnumLiteral
A literal that can be either a string or a bytes literal.
crates/ruff_linter/src/rules/ruff/rules/unnecessary_regular_expression.rs:368
↓ 21 callersClassGeneric
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP049_0.py:2
↓ 18 callersClassExpression
crates/ty_python_core/src/expression.rs:132
↓ 18 callersClassFunctionLiteral
crates/ty_python_semantic/src/types/function.rs:848
↓ 18 callersClassImport
crates/ruff_python_semantic/src/binding.rs:509
↓ 17 callersClassInt
crates/ruff_python_ast/src/int.rs:7
↓ 16 callersClassSymbol
crates/ty_python_core/src/symbol.rs:21
↓ 15 callersEnumBreak
crates/ty_python_semantic/src/types/constraints/solutions.rs:58
↓ 15 callersClassFString
crates/ruff_python_ast/src/nodes.rs:1384
↓ 14 callersClassOther
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:16
↓ 14 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:52
↓ 14 callersClassTString
crates/ruff_python_ast/src/nodes.rs:1466
↓ 14 callersEnumTag
crates/ruff_formatter/src/format_element/tag.rs:11
↓ 13 callersClassText
crates/ruff_formatter/src/builders.rs:351
↓ 13 callersClassUpperBound
crates/ty_python_semantic/src/types/constraints.rs:1937
↓ 12 callersClassCallError
crates/ty_python_semantic/src/types/call.rs:375
↓ 12 callersClassMessage
crates/ruff_annotate_snippets/src/snippet.rs:234
↓ 12 callersClassStringLiteral
crates/ruff_python_ast/src/nodes.rs:1896
↓ 12 callersEnumType
crates/ty_python_semantic/src/types.rs:2074
↓ 11 callersClassAll
crates/ruff_linter/src/noqa.rs:83
↓ 11 callersEnumBool
crates/ruff_linter/src/rules/flake8_simplify/rules/needless_bool.rs:324
↓ 11 callersClassKeyword
crates/ruff_python_ast/src/nodes.rs:3026
↓ 11 callersClassList
List() doc
crates/ty_python_semantic/resources/corpus/70_class_doc_str.py:1
↓ 11 callersClassMetadataError
Raised when historical run metadata is missing or inconsistent.
scripts/collect_ty_ecosystem_run_metadata.py:51
↓ 10 callersClassConstrained
crates/ty_python_semantic/src/types/constraints/solutions.rs:1884
↓ 10 callersClassImport
crates/ty_ide/src/completion.rs:2646
↓ 10 callersClassNewType
crates/ty_python_semantic/src/types/newtype.rs:27
↓ 10 callersClassUpperBound
crates/ty_python_semantic/src/types/constraints/solutions.rs:1880
↓ 9 callersClassGenericAlias
crates/ty_python_semantic/src/types/class.rs:389
↓ 8 callersClassIdentifier
crates/ruff_python_ast/src/nodes.rs:4014
↓ 8 callersEnumNumber
crates/ruff_python_ast/src/int.rs:221
↓ 8 callersClassObject
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B003.py:13
↓ 7 callersClassCodeAction
crates/ty_wasm/src/lib.rs:1082
↓ 7 callersEnumExpr
crates/ruff_python_ast/src/generated.rs:1298
↓ 7 callersClassFloat
crates/ruff_linter/src/rules/ruff/rules/decimal_from_float_literal.rs:105
↓ 7 callersClassIndexed
crates/ty_project/src/files.rs:185
↓ 7 callersEnumPattern
crates/ruff_python_ast/src/generated.rs:3018
↓ 7 callersClassPermutedConstraint
crates/ty_python_semantic/src/types/constraints.rs:6287
↓ 7 callersClassPredicate
crates/ty_python_core/src/predicate.rs:80
↓ 7 callersClassSmall
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:41
↓ 7 callersClassStrict
crates/ruff_benchmark/resources/pydantic/types.py:83
↓ 7 callersEnumTypeAliasType
crates/ty_python_semantic/src/types/type_alias.rs:499
↓ 7 callersEnumUnaryOp
crates/ruff_python_ast/src/nodes.rs:2901
↓ 6 callersEnumAction
crates/ty_server/src/server/main_loop.rs:208
↓ 6 callersClassBytesLiteral
crates/ruff_python_ast/src/nodes.rs:2313
↓ 6 callersClassDict
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_index.py:16
↓ 6 callersEnumEnum
crates/ruff_cache/tests/cache_key.rs:93
↓ 6 callersEnumExceptHandler
crates/ruff_python_ast/src/generated.rs:2839
↓ 6 callersClassExpressionContext
crates/ruff_python_parser/src/parser/expression.rs:3126
↓ 6 callersClassLevel
crates/ruff_annotate_snippets/src/level.rs:56
↓ 6 callersClassLine
crates/ruff_formatter/src/builders.rs:195
↓ 6 callersClassMember
crates/ty_python_core/src/member.rs:21
↓ 6 callersEnumMethod
crates/ruff_linter/src/rules/ruff/rules/asyncio_dangling_task.rs:184
↓ 6 callersClassNested
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC008.py:50
↓ 6 callersClassParameter
crates/ty_python_semantic/src/types/signatures.rs:6043
↓ 6 callersEnumSet
crates/ruff_dev/src/generate_options.rs:75
↓ 5 callersClassAnnotation
crates/ruff_db/src/diagnostic/mod.rs:788
↓ 5 callersClassArray
crates/ruff_python_parser/resources/inline/ok/star_index_py311.py:3
↓ 5 callersClassAssert
crates/ruff_linter/src/rules/flake8_bandit/rules/assert_used.rs:41
↓ 5 callersClassAtomicConstraintId
crates/ty_python_semantic/src/types/constraints.rs:1882
↓ 5 callersClassBinding
crates/ty_python_semantic/src/types/call/bind.rs:8533
↓ 5 callersClassCommand
scripts/ty_benchmark/src/benchmark/__init__.py:63
↓ 5 callersClassDecimal
crates/ruff_linter/resources/test/fixtures/ruff/RUF032.py:62
↓ 5 callersClassDeprecated
crates/ruff_options_metadata/src/lib.rs:404
↓ 5 callersClassDiff
python/ruff-ecosystem/ruff_ecosystem/types.py:26
↓ 5 callersClassEditorConfigurationTransformer
crates/ruff_server/src/session/index/ruff_settings.rs:412
↓ 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:537
↓ 5 callersEnumModule
crates/ty_module_resolver/src/module.rs:17
↓ 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:60
↓ 5 callersClassReport
python/ruff-ecosystem/tests/test_html.py:11
↓ 5 callersClassStr
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_str.py:37
↓ 4 callersClassAlias
crates/ruff_python_ast/src/nodes.rs:3036
↓ 4 callersClassBindings
crates/ty_python_semantic/src/types/call/bind.rs:623
↓ 4 callersEnumBoolOp
crates/ruff_python_ast/src/nodes.rs:2776
↓ 4 callersClassC
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:1
↓ 4 callersClassClass
crates/ruff_linter/resources/test/fixtures/mccabe/C901.py:112
↓ 4 callersClassComprehension
crates/ruff_python_ast/src/nodes.rs:2983
↓ 4 callersEnumConstraint
crates/ty_python_semantic/src/types/constraints/variables.rs:119
↓ 4 callersClassConstraintSet
crates/ty_python_semantic/src/types/constraints.rs:402
↓ 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
next →1–100 of 7,116, ranked by callers