Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,766 in github.com/astral-sh/ruff
⨍
Functions
31,766
◇
Types & classes
7,128
↳
Endpoints
82
Method
my_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:62
Method
my_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:80
Method
my_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:95
Method
my_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:109
Method
my_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:129
Method
my_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:146
Method
my_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:163
Function
my_callable
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR201.py:8
Function
my_callable
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR001.py:6
Function
my_cool_function
()
crates/ruff_linter/resources/test/fixtures/flake8_tidy_imports/TID253.py:21
Function
my_dag
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR304.py:47
Function
my_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT002.py:5
Function
my_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT025.py:11
Function
my_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT024.py:16
Function
my_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT001.py:85
Function
my_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT021.py:7
Function
my_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:126
Function
my_fixture_with_param
(request)
crates/ruff_linter/resources/test/fixtures/refurb/FURB118.py:151
Function
my_fixture_with_param2
(request)
crates/ruff_linter/resources/test/fixtures/refurb/FURB118.py:155
Function
my_func
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:147
Method
my_func
( arg)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_basic.py:22
Function
my_god_its_full_of_stars_1
I'm sorry Dave\u2001
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:187
Function
my_god_its_full_of_stars_2
I'm sorry Dave
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:192
Method
my_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:53
Method
my_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:108
Function
my_static_task
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR304.py:72
Function
my_task
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR003.py:36
Function
my_task
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR304.py:57
Function
my_task_with_parens
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR003.py:43
Function
myfunc
( )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off_overlap.py:6
Function
myfunc
( )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off.py:7
Function
myfunc
(x)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B023.py:89
Function
myfunc
(param: "tuple[Union[int, 'AClass', None], str]")
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP007_1.py:91
Function
mypy_init_return
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:87
Function
n
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:156
Function
n
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:8
Function
n
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:56
Method
n
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:95
Method
n
(cls: type[S], other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:120
Method
n
(cls: type[S], other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:137
Method
n
(self: S, other: T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:141
Method
n
(cls: type[S], other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:149
Method
name
The name of the virtual environment directory.
scripts/ty_benchmark/src/benchmark/venv.py:36
Method
name
(self)
scripts/ty_benchmark/src/benchmark/tool.py:42
Method
name
(self)
scripts/ty_benchmark/src/benchmark/tool.py:147
Method
name
(self)
scripts/ty_benchmark/src/benchmark/tool.py:237
Method
name
(self)
scripts/ty_benchmark/src/benchmark/tool.py:284
Method
name
(self)
scripts/ty_benchmark/src/benchmark/tool.py:333
Method
name
Returns the name of the reference.
crates/ruff_python_semantic/src/reference.rs:168
Method
name
(&self)
crates/ruff_python_semantic/src/model/all.rs:34
Method
name
Returns the name of the item being defined, if applicable.
crates/ty_python_core/src/definition.rs:121
Method
name
(self, db: &'db dyn Db)
crates/ty_python_semantic/src/types/class_base.rs:67
Method
name
f"{self.first_name} {self.last_name}
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:7
Function
name_1
(name_2: name_0)
crates/ty_python_semantic/resources/corpus/cyclic_pep695_typevars.py:1
Function
name_1
(_2: name_4)
crates/ty_python_semantic/resources/corpus/cyclic_type_alias.py:10
Function
name_1
()
crates/ty_python_semantic/resources/corpus/classliteral_decorators_cycle.py:11
Function
name_10000_invalid
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:598
Function
name_2
(x: T)
crates/ty_python_semantic/resources/corpus/except_handler_with_Any_bound_typevar.py:3
Function
name_2
()
crates/ty_python_semantic/resources/corpus/88_regression_pr_20962.py:6
Function
name_3
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_params.py:17
Function
name_3
()
crates/ty_python_semantic/resources/corpus/cyclic_symbol_in_comprehension.py:23
Function
name_3
()
crates/ty_python_semantic/resources/corpus/classliteral_decorators_cycle.py:15
Function
name_4
()
crates/ty_python_semantic/resources/corpus/cyclic_lambdas.py:23
Function
name_all_valid
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:618
Method
name_and_code
Return the rule's name, followed by its code in parentheses when available. For example: ```text unused-import (F401) ``` When formatted with the `
crates/ruff_linter/src/registry.rs:404
Function
name_basic
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:584
Function
name_cjk_unified_ideograph
()
crates/ruff_unicode_names2/src/lib.rs:532
Method
name_expr
(self)
crates/ruff_python_ast/src/generated.rs:2656
Function
name_fields
(node: &ast::ExprName)
crates/ruff_python_ast/src/comparable.rs:1386
Function
name_hangul_syllable
()
crates/ruff_unicode_names2/src/lib.rs:493
Function
name_keys_ignore_context_location_and_node_index
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:70
Function
name_range_with_comments
()
crates/ruff_python_formatter/src/expression/expr_name.rs:39
Function
name_to_string
()
crates/ruff_unicode_names2/src/lib.rs:475
Function
named_catch_all_match_case
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:500
Function
named_expr
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_0.py:137
Method
named_expr
(self)
crates/ruff_python_ast/src/generated.rs:1657
Function
named_field_struct
()
crates/ruff_cache/tests/cache_key.rs:22
Function
named_fields
(node: &ast::ExprNamed)
crates/ruff_python_ast/src/comparable.rs:1035
Method
named_tuple_ancestors
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:927
Function
named_types_classes
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4694
Function
namedtuple_methods
()
crates/ty_ide/src/completion.rs:5361
Function
namedtuple_prepare_and_supertypes_inline
()
crates/ty_ide/src/type_hierarchy.rs:513
Function
namedtuple_prepare_and_supertypes_variable_definition
()
crates/ty_ide/src/type_hierarchy.rs:491
Function
namedtuple_subtypes_of_namedtuple
()
crates/ty_ide/src/type_hierarchy.rs:546
Function
namedtuple_subtypes_of_tuple
()
crates/ty_ide/src/type_hierarchy.rs:565
Function
names_declared_in_except_blocks
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1081
Function
namespace
(bencher: Bencher, scenario: &Scenario)
crates/ruff_benchmark/benches/ty_ide.rs:497
Method
namespace_package
( db: &'db dyn Db, resolver_environment: ResolverEnvironment<'db>, name: Cow<'_, Modul
crates/ty_module_resolver/src/module.rs:49
Function
namespace_package_locations_include_all_directories
()
crates/ty_module_resolver/src/resolve.rs:1938
Function
namespace_package_precedence
()
crates/ty_module_resolver/src/list.rs:1324
Method
narrow_type_by_len
Narrow a type based on `len()`, only narrowing the parts that are safe to narrow. For narrowable types (literals, tuples), we apply `~AlwaysFalsy` (p
crates/ty_python_semantic/src/types/narrow.rs:3601
Method
narrow_type_by_len_comparison
Filter a type based on a comparison against an integer length. Equality comparisons specialize exact tuple types to the observed length. Other compar
crates/ty_python_semantic/src/types/narrow.rs:3670
Method
narrowable_ast
(expr: &ast::Expr)
crates/ty_python_semantic/src/types/narrow.rs:4064
Function
ndpointer
Array-checking restype/argtypes. An ndpointer instance is used to describe an ndarray in restypes and argtypes specifications. This app
crates/ruff_benchmark/resources/numpy/ctypeslib.py:235
Function
nearby_fix_edits_share_diff_frame
()
crates/ruff_db/src/diagnostic/render/full.rs:1124
Function
needs_parentheses
( )
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/parentheses.py:1
Method
needs_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_or.rs:54
Method
needs_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_mapping.rs:97
Method
needs_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_sequence.rs:65
Method
needs_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_as.rs:55
← previous
next →
25,201–25,300 of 31,766, ranked by callers