MCPcopy Create free account

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

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

Methodeq
(&self, other: &&str)
crates/ruff_source_file/src/newlines.rs:286
Methodeq
(&self, other: &str)
crates/ty_module_resolver/src/module_name.rs:453
Methodeq
(&self, other: &Self)
crates/ty_module_resolver/src/module_glob.rs:116
Methodeq
(&self, other: &SystemPathBuf)
crates/ty_module_resolver/src/path.rs:225
Methodeq
(&self, other: &Interned)
crates/ruff_formatter/src/format_element.rs:164
Methodeq
(&self, other: &Self)
crates/ruff_formatter/src/format_element/tag.rs:367
Methodeq
(&self, other: &Self)
crates/ruff_python_formatter/src/string/docstring.rs:1854
Methodeq
(&self, other: &Self)
crates/ruff_python_formatter/src/comments/node_key.rs:34
Methodeq
(&self, other: &SystemPath)
crates/ruff_db/src/files/path.rs:149
Methodeq
(&self, other: &Self)
crates/ruff_db/src/diagnostic/mod.rs:607
Methodeq
(&self, other: &Self)
crates/ruff_db/src/system/path.rs:16
Methodeq
(&self, other: &Self)
crates/ruff/src/args.rs:1288
Methodeq
(&self, other: &Self)
crates/ruff_ranged_value/src/lib.rs:300
Methodeq
(&self, data: &&str)
crates/ruff_python_ast/src/name.rs:176
Methodeq
(&self, other: &Self)
crates/ruff_python_ast/src/comparable.rs:342
Methodeq
(&self, other: &str)
crates/ruff_python_ast/src/nodes.rs:1670
Methodeq
(&self, other: &Self)
crates/ruff_python_ast/src/node_index.rs:215
Methodeq
(&self, other: &Self)
crates/ty_python_core/src/symbol.rs:260
Methodeq
(&self, other: &Self)
crates/ruff_notebook/src/notebook.rs:492
Methodeq
(&self, rhs: &QueryPattern)
crates/ty_ide/src/symbols.rs:109
Methodeq
(&self, rhs: &CompletionRanker<'_>)
crates/ty_ide/src/completion.rs:3389
Methodeq
(&self, other: &Self)
crates/ty_python_semantic/src/lint.rs:340
Methodeq
(&self, other: &Self)
crates/ty_python_semantic/src/types/set_theoretic.rs:966
Methodeq
(&self, other: &Self)
crates/ty_python_semantic/src/types/relation_error.rs:927
Methodeq
(&self, rhs: &Member<'db>)
crates/ty_python_semantic/src/types/list_members.rs:858
Methodeq
(&self, other: &Self)
crates/ty_python_semantic/src/types/match_pattern.rs:50
Methodeq
(&self, other: &Self)
crates/ty_python_semantic/src/types/call/bind.rs:10267
Methodeq
(&self, other: &Self)
crates/ruff_linter/src/line_width.rs:162
Methodeq
(&self, other: &Self)
crates/ruff_linter/src/rules/ruff/rules/sequence_sorting.rs:77
Methodeq
(&self, other: &u32)
crates/ruff_linter/src/rules/pycodestyle/rules/blank_lines.rs:595
Methodeq
We will only ever be comparing slots within a class and with the slots of a super class. In that context, we want to compare names and not ranges.
crates/ruff_linter/src/rules/pylint/rules/redefined_slots_in_subclass.rs:91
Methodeq
(&self, other: &Self)
crates/ty_site_packages/src/lib.rs:78
Functionequality
()
crates/ruff_python_formatter/src/comments/node_key.rs:70
Functionequality_accounts_for_pattern_root
()
crates/ty_project/src/glob/exclude.rs:303
Functionequality_accounts_for_pattern_root
()
crates/ty_project/src/glob/include.rs:360
Functionequality_after_adding_cell_magic
()
crates/ruff_notebook/src/notebook.rs:554
Functionequality_ignores_cached_index
()
crates/ruff_notebook/src/notebook.rs:582
Functionequivalent_numbers_hash_equal
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:169
Functionequivalent_script_settings_share_programs
()
crates/ty_project/src/script.rs:479
Functionerror
()
crates/mdtest/src/assertion.rs:594
Functionerror
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:15
Methoderror
Override the output style for [error][crate::Level::ERROR]
crates/ruff_annotate_snippets/src/renderer/mod.rs:210
Methoderror
( context: &InferContext<'db, '_>, message: impl std::fmt::Display, node:
crates/ty_python_semantic/src/types/infer/builder.rs:3761
Methoderror
( context: &InferContext<'db, '_>, message: impl std::fmt::Display, node:
crates/ty_python_semantic/src/types/infer/builder/typevar.rs:762
Functionerror_aliased_member_import
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020_1.py:11
Functionerror_aliased_module
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020_2.py:5
Functionerror_arg
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:38
Functionerror_diagnostics
()
crates/ruff/src/commands/format.rs:1285
Functionerror_due_to_missing_import
(foo: ImmutableTypeA = [])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_extended.py:17
Functionerror_due_to_missing_import
(data: List[str] = Depends(None))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B008_extended.py:24
Methoderror_in_class
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:36
Functionerror_match_all
()
crates/mdtest/src/matcher.rs:1022
Functionerror_match_all_wrong_column
()
crates/mdtest/src/matcher.rs:1036
Functionerror_match_all_wrong_message
()
crates/mdtest/src/matcher.rs:1082
Functionerror_match_all_wrong_rule
()
crates/mdtest/src/matcher.rs:1059
Functionerror_match_column_and_message
()
crates/mdtest/src/matcher.rs:994
Functionerror_match_column_and_rule
()
crates/mdtest/src/matcher.rs:943
Functionerror_match_column_and_rule_and_message
()
crates/mdtest/src/matcher.rs:957
Functionerror_match_message
()
crates/mdtest/src/matcher.rs:906
Functionerror_match_rule
()
crates/mdtest/src/matcher.rs:841
Functionerror_match_rule_and_message
()
crates/mdtest/src/matcher.rs:1008
Functionerror_match_rule_lots_of_whitespace
()
crates/mdtest/src/matcher.rs:869
Functionerror_match_rule_no_whitespace
()
crates/mdtest/src/matcher.rs:855
Functionerror_member_import
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020_1.py:6
Functionerror_multiple_args
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:20
Functionerror_on_warning_conflicts_with_exit_zero_on_warning
()
crates/ty/tests/cli/exit_code.rs:63
Functionerror_partially_typed_1
(a: int, b)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:24
Functionerror_partially_typed_2
(a: int, b)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:28
Functionerror_partially_typed_3
(a: int, b: int)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:32
Functionerror_second_arg
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:30
Methoderror_typed_self
(self: X)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:43
Functionerror_unmatched
()
crates/mdtest/src/matcher.rs:834
Functionerror_with_arguments
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:25
Functionerror_with_comment
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:30
Functionerror_with_comment_in_reference
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:45
Functionerror_with_message_and_column
()
crates/mdtest/src/assertion.rs:854
Functionerror_with_parens
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:20
Functionerror_with_rule
()
crates/mdtest/src/assertion.rs:784
Functionerror_with_rule_and_column
()
crates/mdtest/src/assertion.rs:806
Functionerror_with_rule_and_message
()
crates/mdtest/src/assertion.rs:828
Functionerror_with_rule_and_message_and_column
()
crates/mdtest/src/assertion.rs:877
Functionerror_without_parens
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:15
Functionerror_wrong_column
()
crates/mdtest/src/matcher.rs:971
Functionerror_wrong_message
()
crates/mdtest/src/matcher.rs:920
Functionerror_wrong_rule
()
crates/mdtest/src/matcher.rs:883
Functionerrors
()
crates/ruff_linter/resources/test/fixtures/pylint/compare_to_empty_string.py:6
Methodescape_preceding_prepends
Records offsets of characters that would attach to the following escape or closing quote.
crates/ruff_python_literal/src/escape.rs:340
Methodescaped_char_len
(ch: char)
crates/ruff_python_literal/src/escape.rs:215
Functionescaped_chars
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:60
Methodescaped_codepoint_len
Returns the length of a hexadecimal Python escape for the character.
crates/ruff_python_literal/src/escape.rs:229
Functionescaped_stars_google
r"""Do something. Args: x: the value \*args: variable arguments \*\*kwargs: keyword arguments
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:272
Functionescaped_stars_google_missing
r"""Do something. Args: \*\*kwargs: keyword arguments
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:282
Functionescaped_stars_non_raw
Do something. Args: x: the value \\*args: variable arguments \\*\\*kwargs: keyword arguments
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:290
Functionescaped_stars_numpy
r"""Do something. Parameters ---------- x : int The value. \*args : tuple Variable arguments. \*\*kwargs : dict
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:248
Functionescaped_stars_numpy_missing
r"""Do something. Parameters ---------- \*\*kwargs : dict Keyword arguments.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:262
Functionescaped_string
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:14
Functionescapes_quotes
()
crates/ruff_formatter/src/format_element/document.rs:855
Functionevaluate
( constraints: &NarrowingConstraintsBuilder, constraint: ScopedNarrowingConstraint, va
crates/ty_python_core/src/narrowing_constraints.rs:461
Functioneven_longer
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_params.py:9
Methodevil_raises
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_0.py:22
← previousnext →18,301–18,400 of 31,562, ranked by callers