MCPcopy Create free account

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

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

Methodmy_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:62
Methodmy_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:80
Methodmy_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:95
Methodmy_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:109
Methodmy_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:129
Methodmy_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:146
Methodmy_brand_new_property
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ008.py:163
Functionmy_callable
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR201.py:8
Functionmy_callable
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR001.py:6
Functionmy_cool_function
()
crates/ruff_linter/resources/test/fixtures/flake8_tidy_imports/TID253.py:21
Functionmy_dag
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR304.py:47
Functionmy_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT002.py:5
Functionmy_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT025.py:11
Functionmy_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT024.py:16
Functionmy_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT001.py:85
Functionmy_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT021.py:7
Functionmy_fixture
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:126
Functionmy_fixture_with_param
(request)
crates/ruff_linter/resources/test/fixtures/refurb/FURB118.py:151
Functionmy_fixture_with_param2
(request)
crates/ruff_linter/resources/test/fixtures/refurb/FURB118.py:155
Functionmy_func
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:147
Methodmy_func
( arg)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_basic.py:22
Functionmy_god_its_full_of_stars_1
I'm sorry Dave\u2001
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:187
Functionmy_god_its_full_of_stars_2
I'm sorry Dave 
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring.py:192
Methodmy_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:53
Methodmy_method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:108
Functionmy_static_task
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR304.py:72
Functionmy_task
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR003.py:36
Functionmy_task
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR304.py:57
Functionmy_task_with_parens
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR003.py:43
Functionmyfunc
( )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off_overlap.py:6
Functionmyfunc
( )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off.py:7
Functionmyfunc
(x)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B023.py:89
Functionmyfunc
(param: "tuple[Union[int, 'AClass', None], str]")
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP007_1.py:91
Functionmypy_init_return
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:87
Functionn
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:156
Functionn
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function.py:8
Functionn
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:56
Methodn
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:95
Methodn
(cls: type[S], other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:120
Methodn
(cls: type[S], other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:137
Methodn
(self: S, other: T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:141
Methodn
(cls: type[S], other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:149
Methodname
The name of the virtual environment directory.
scripts/ty_benchmark/src/benchmark/venv.py:36
Methodname
(self)
scripts/ty_benchmark/src/benchmark/tool.py:42
Methodname
(self)
scripts/ty_benchmark/src/benchmark/tool.py:147
Methodname
(self)
scripts/ty_benchmark/src/benchmark/tool.py:237
Methodname
(self)
scripts/ty_benchmark/src/benchmark/tool.py:284
Methodname
(self)
scripts/ty_benchmark/src/benchmark/tool.py:333
Methodname
Returns the name of the reference.
crates/ruff_python_semantic/src/reference.rs:168
Methodname
(&self)
crates/ruff_python_semantic/src/model/all.rs:34
Methodname
Returns the name of the item being defined, if applicable.
crates/ty_python_core/src/definition.rs:121
Methodname
(self, db: &'db dyn Db)
crates/ty_python_semantic/src/types/class_base.rs:67
Methodname
f"{self.first_name} {self.last_name}
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:7
Functionname_1
(name_2: name_0)
crates/ty_python_semantic/resources/corpus/cyclic_pep695_typevars.py:1
Functionname_1
(_2: name_4)
crates/ty_python_semantic/resources/corpus/cyclic_type_alias.py:10
Functionname_1
()
crates/ty_python_semantic/resources/corpus/classliteral_decorators_cycle.py:11
Functionname_10000_invalid
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:598
Functionname_2
(x: T)
crates/ty_python_semantic/resources/corpus/except_handler_with_Any_bound_typevar.py:3
Functionname_2
()
crates/ty_python_semantic/resources/corpus/88_regression_pr_20962.py:6
Functionname_3
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_params.py:17
Functionname_3
()
crates/ty_python_semantic/resources/corpus/cyclic_symbol_in_comprehension.py:23
Functionname_3
()
crates/ty_python_semantic/resources/corpus/classliteral_decorators_cycle.py:15
Functionname_4
()
crates/ty_python_semantic/resources/corpus/cyclic_lambdas.py:23
Functionname_all_valid
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:618
Methodname_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
Functionname_basic
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:584
Functionname_cjk_unified_ideograph
()
crates/ruff_unicode_names2/src/lib.rs:532
Methodname_expr
(self)
crates/ruff_python_ast/src/generated.rs:2656
Functionname_fields
(node: &ast::ExprName)
crates/ruff_python_ast/src/comparable.rs:1386
Functionname_hangul_syllable
()
crates/ruff_unicode_names2/src/lib.rs:493
Functionname_keys_ignore_context_location_and_node_index
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:70
Functionname_range_with_comments
()
crates/ruff_python_formatter/src/expression/expr_name.rs:39
Functionname_to_string
()
crates/ruff_unicode_names2/src/lib.rs:475
Functionnamed_catch_all_match_case
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:500
Functionnamed_expr
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_0.py:137
Methodnamed_expr
(self)
crates/ruff_python_ast/src/generated.rs:1657
Functionnamed_field_struct
()
crates/ruff_cache/tests/cache_key.rs:22
Functionnamed_fields
(node: &ast::ExprNamed)
crates/ruff_python_ast/src/comparable.rs:1035
Methodnamed_tuple_ancestors
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class/static_literal.rs:927
Functionnamed_types_classes
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4694
Functionnamedtuple_methods
()
crates/ty_ide/src/completion.rs:5361
Functionnamedtuple_prepare_and_supertypes_inline
()
crates/ty_ide/src/type_hierarchy.rs:513
Functionnamedtuple_prepare_and_supertypes_variable_definition
()
crates/ty_ide/src/type_hierarchy.rs:491
Functionnamedtuple_subtypes_of_namedtuple
()
crates/ty_ide/src/type_hierarchy.rs:546
Functionnamedtuple_subtypes_of_tuple
()
crates/ty_ide/src/type_hierarchy.rs:565
Functionnames_declared_in_except_blocks
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1081
Functionnamespace
(bencher: Bencher, scenario: &Scenario)
crates/ruff_benchmark/benches/ty_ide.rs:497
Methodnamespace_package
( db: &'db dyn Db, resolver_environment: ResolverEnvironment<'db>, name: Cow<'_, Modul
crates/ty_module_resolver/src/module.rs:49
Functionnamespace_package_locations_include_all_directories
()
crates/ty_module_resolver/src/resolve.rs:1938
Functionnamespace_package_precedence
()
crates/ty_module_resolver/src/list.rs:1324
Methodnarrow_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
Methodnarrow_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
Methodnarrowable_ast
(expr: &ast::Expr)
crates/ty_python_semantic/src/types/narrow.rs:4064
Functionndpointer
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
Functionnearby_fix_edits_share_diff_frame
()
crates/ruff_db/src/diagnostic/render/full.rs:1124
Functionneeds_parentheses
( )
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/parentheses.py:1
Methodneeds_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_or.rs:54
Methodneeds_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_mapping.rs:97
Methodneeds_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_sequence.rs:65
Methodneeds_parentheses
( &self, _parent: AnyNodeRef, _context: &PyFormatContext, )
crates/ruff_python_formatter/src/pattern/pattern_match_as.rs:55
← previousnext →25,201–25,300 of 31,766, ranked by callers