Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ types & classes
Types & classes
6,608 in github.com/astral-sh/ruff
⨍
Functions
27,807
◇
Types & classes
6,608
↳
Endpoints
82
↓ 2,290 callers
Class
Ok
crates/ruff_linter/resources/test/fixtures/flake8_slots/SLOT000.py:20
↓ 112 callers
Class
TypeVar
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/mod.rs:49
↓ 77 callers
Class
Path
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:220
↓ 48 callers
Enum
Callable
crates/ruff_python_semantic/src/analyze/typing.rs:24
↓ 34 callers
Class
Name
crates/ruff_python_ast/src/name.rs:46
↓ 32 callers
Class
Class
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/module.py:16
↓ 26 callers
Enum
Tuple
crates/ty_python_semantic/src/types/tuple.rs:2243
↓ 24 callers
Class
Bytes
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_bytes.py:37
↓ 24 callers
Class
Definition
crates/ty_python_core/src/definition.rs:38
↓ 21 callers
Enum
ClassLiteral
crates/ty_python_semantic/src/types/class.rs:470
↓ 21 callers
Enum
Literal
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 callers
Class
Expression
crates/ty_python_core/src/expression.rs:34
↓ 19 callers
Class
Import
crates/ruff_python_semantic/src/binding.rs:501
↓ 18 callers
Class
Int
crates/ruff_python_ast/src/int.rs:7
↓ 17 callers
Class
Generic
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP049_0.py:2
↓ 16 callers
Class
FString
crates/ruff_python_ast/src/nodes.rs:1210
↓ 16 callers
Class
File
crates/ruff_db/src/files.rs:359
↓ 15 callers
Class
Symbol
crates/ty_python_core/src/symbol.rs:21
↓ 14 callers
Enum
Tag
crates/ruff_formatter/src/format_element/tag.rs:11
↓ 13 callers
Class
StringLiteral
crates/ruff_python_ast/src/nodes.rs:1700
↓ 13 callers
Class
TString
crates/ruff_python_ast/src/nodes.rs:1292
↓ 12 callers
Enum
ApplySpecialization
crates/ty_python_semantic/src/types/generics.rs:1932
↓ 11 callers
Class
All
crates/ruff_linter/src/noqa.rs:82
↓ 11 callers
Enum
Bool
crates/ruff_linter/src/rules/flake8_simplify/rules/needless_bool.rs:333
↓ 11 callers
Class
FunctionLiteral
crates/ty_python_semantic/src/types/function.rs:729
↓ 10 callers
Class
Keyword
crates/ruff_python_ast/src/nodes.rs:2831
↓ 10 callers
Class
List
List() doc
crates/ty_python_semantic/resources/corpus/70_class_doc_str.py:1
↓ 10 callers
Class
Message
crates/ruff_annotate_snippets/src/snippet.rs:25
↓ 10 callers
Class
NewType
crates/ty_python_semantic/src/types/newtype.rs:26
↓ 10 callers
Class
Other
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:16
↓ 10 callers
Interface
System
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
↓ 9 callers
Class
CallError
crates/ty_python_semantic/src/types/call.rs:234
↓ 9 callers
Enum
Expr
crates/ruff_python_ast/src/generated.rs:1298
↓ 9 callers
Class
MetadataError
Raised when historical run metadata is missing or inconsistent.
scripts/collect_ty_ecosystem_run_metadata.py:27
↓ 9 callers
Enum
Number
crates/ruff_python_ast/src/int.rs:221
↓ 9 callers
Class
Text
crates/ruff_formatter/src/builders.rs:350
↓ 9 callers
Enum
Type
crates/ty_python_semantic/src/types.rs:918
↓ 9 callers
Class
UpperBound
crates/ty_python_semantic/src/types/constraints.rs:1467
↓ 8 callers
Class
BytesLiteral
crates/ruff_python_ast/src/nodes.rs:2118
↓ 8 callers
Class
Float
crates/ruff_linter/src/rules/ruff/rules/decimal_from_float_literal.rs:105
↓ 8 callers
Class
Identifier
crates/ruff_python_ast/src/nodes.rs:3819
↓ 8 callers
Class
Import
crates/ty_ide/src/completion.rs:2454
↓ 8 callers
Class
Object
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B003.py:13
↓ 8 callers
Enum
Pattern
crates/ruff_python_ast/src/generated.rs:3018
↓ 8 callers
Enum
UnaryOp
crates/ruff_python_ast/src/nodes.rs:2706
↓ 7 callers
Class
CodeAction
crates/ty_wasm/src/lib.rs:1063
↓ 7 callers
Class
Dict
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_index.py:16
↓ 7 callers
Enum
ExceptHandler
crates/ruff_python_ast/src/generated.rs:2839
↓ 7 callers
Class
Parameter
crates/ty_python_semantic/src/types/signatures.rs:4567
↓ 7 callers
Enum
Set
crates/ruff_dev/src/generate_options.rs:75
↓ 7 callers
Class
Small
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:41
↓ 7 callers
Class
Strict
crates/ruff_benchmark/resources/pydantic/types.py:83
↓ 6 callers
Class
Assert
crates/ruff_linter/src/rules/flake8_bandit/rules/assert_used.rs:37
↓ 6 callers
Enum
Enum
crates/ruff_cache/tests/cache_key.rs:93
↓ 6 callers
Class
ExpressionContext
crates/ruff_python_parser/src/parser/expression.rs:3238
↓ 6 callers
Class
GenericAlias
crates/ty_python_semantic/src/types/class.rs:323
↓ 6 callers
Class
Indexed
crates/ty_project/src/files.rs:167
↓ 6 callers
Class
Line
crates/ruff_formatter/src/builders.rs:195
↓ 6 callers
Class
Str
crates/ruff_linter/resources/test/fixtures/pylint/invalid_return_type_str.py:37
↓ 6 callers
Enum
TypeAliasType
crates/ty_python_semantic/src/types/type_alias.rs:284
↓ 5 callers
Enum
Action
crates/ty_server/src/server/main_loop.rs:205
↓ 5 callers
Class
Array
crates/ruff_python_parser/resources/inline/ok/star_index_py311.py:3
↓ 5 callers
Class
EditorConfigurationTransformer
crates/ruff_server/src/session/index/ruff_settings.rs:408
↓ 5 callers
Interface
Format
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 callers
Class
Imports
crates/ty_ide/src/symbols.rs:539
↓ 5 callers
Enum
Level
crates/ruff_annotate_snippets/src/snippet.rs:177
↓ 5 callers
Enum
Match
crates/ty_project/src/glob/exclude.rs:174
↓ 5 callers
Class
Member
crates/ty_python_core/src/member.rs:21
↓ 5 callers
Enum
Method
crates/ruff_linter/src/rules/ruff/rules/asyncio_dangling_task.rs:169
↓ 5 callers
Enum
Module
crates/ty_module_resolver/src/module.rs:17
↓ 5 callers
Class
MyError
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:5
↓ 5 callers
Class
MySubError
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:9
↓ 5 callers
Class
MyValueError
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:13
↓ 5 callers
Class
Named
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff5.py:68
↓ 5 callers
Class
Notebook
crates/ruff_notebook/src/notebook.rs:60
↓ 5 callers
Class
Predicate
crates/ty_python_core/src/predicate.rs:76
↓ 4 callers
Enum
BoolOp
crates/ruff_python_ast/src/nodes.rs:2581
↓ 4 callers
Class
Class
crates/ruff_linter/resources/test/fixtures/mccabe/C901.py:112
↓ 4 callers
Class
Command
scripts/ty_benchmark/src/benchmark/__init__.py:15
↓ 4 callers
Class
Comprehension
crates/ruff_python_ast/src/nodes.rs:2788
↓ 4 callers
Class
Constraint
crates/ty_python_semantic/src/types/constraints.rs:1411
↓ 4 callers
Class
ConstraintSet
crates/ty_python_semantic/src/types/constraints.rs:353
↓ 4 callers
Class
Decimal
crates/ruff_linter/resources/test/fixtures/ruff/RUF032.py:62
↓ 4 callers
Class
F
crates/ruff_linter/resources/test/fixtures/ruff/RUF009_attrs.py:97
↓ 4 callers
Class
Formatted
crates/ruff_formatter/src/lib.rs:294
↓ 4 callers
Class
G
crates/ruff_linter/resources/test/fixtures/ruff/RUF009_attrs.py:102
↓ 4 callers
Class
Generator
crates/ruff_python_codegen/src/generator.rs:90
↓ 4 callers
Class
Module
crates/ruff_python_semantic/src/definition.rs:54
↓ 4 callers
Class
Node
crates/ruff_python_ast/generate.py:140
↓ 4 callers
Class
NominalInstanceType
crates/ty_python_semantic/src/types/instance.rs:175
↓ 4 callers
Class
Parameters
crates/ruff_python_ast/src/nodes.rs:3117
↓ 4 callers
Class
Specialization
crates/ty_python_semantic/src/types/generics.rs:1113
↓ 4 callers
Enum
Stmt
crates/ruff_python_ast/src/generated.rs:125
↓ 4 callers
Class
T
crates/ruff_linter/resources/test/fixtures/pylint/non_augmented_assignment.py:45
↓ 4 callers
Enum
TypeQualifier
crates/ty_python_semantic/src/types/special_form.rs:1006
↓ 4 callers
Class
User
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:5
↓ 4 callers
Class
Width
crates/ruff_formatter/src/format_element.rs:494
↓ 4 callers
Class
WithItem
crates/ruff_python_ast/src/nodes.rs:2851
↓ 3 callers
Class
Alias
crates/ruff_python_ast/src/nodes.rs:2841
↓ 3 callers
Class
AllowInfNan
crates/ruff_benchmark/resources/pydantic/types.py:121
next →
1–100 of 6,608, ranked by callers