MCPcopy Create free account

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

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

Functiond
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:176
Functiond
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B012.py:26
Functiond
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:53
Functiond
(osname, version, release)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP032_0.py:110
Methodd
(cls)
crates/ruff_linter/resources/test/fixtures/pyupgrade/future_annotations.py:30
Functiond209_d400
()
crates/ruff_linter/src/rules/pydocstyle/mod.rs:232
Functiond417_google
()
crates/ruff_linter/src/rules/pydocstyle/mod.rs:163
Functiond417_google_ignore_var_parameters
()
crates/ruff_linter/src/rules/pydocstyle/mod.rs:180
Functiond417_numpy
()
crates/ruff_linter/src/rules/pydocstyle/mod.rs:197
Functiond417_unspecified
()
crates/ruff_linter/src/rules/pydocstyle/mod.rs:135
Functiond417_unspecified_ignore_var_parameters
()
crates/ruff_linter/src/rules/pydocstyle/mod.rs:150
Functiond420
(convention: Convention, path: &Path)
crates/ruff_linter/src/rules/pydocstyle/mod.rs:215
Functiondang
(dict, set, list)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_3.py:21
Methoddangling
Makes `comment` a [dangling comment](self::dangling-comments) of `node`.
crates/ruff_python_formatter/src/comments/visitor.rs:487
Methoddangling
Returns the *dangling* parts of `key` in insertion-order.
crates/ruff_python_formatter/src/comments/map.rs:229
Functiondangling_comment
()
crates/ruff_python_formatter/src/comments/mod.rs:659
Functiondangling_leading
()
crates/ruff_python_formatter/src/comments/map.rs:748
Functiondangling_node_comments
Formats the dangling comments of `node`.
crates/ruff_python_formatter/src/comments/format.rs:196
Functiondangling_trailing
()
crates/ruff_python_formatter/src/comments/map.rs:620
Functiondashrepl
(matchobj)
crates/ruff_linter/resources/test/fixtures/ruff/RUF055_0.py:11
Functiondastardly_default_value
( cow: String = json.loads("""this is quite the dastadardly value!"""), **kwargs, )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_multiline_strings.py:138
Functiondate_okay
(value=dt.date(2023, 3, 27))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:221
Functiondatetime_okay
(value=dt.datetime(2023, 3, 27, 13, 51, 59))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:225
Functiondatetime_utc_alias_py311
()
crates/ruff_linter/src/rules/pyupgrade/mod.rs:413
Functiondatetype
(criterion: &mut Criterion)
crates/ruff_benchmark/benches/ty.rs:2878
Functionddb
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda.py:369
Functiondebug
()
crates/ruff_python_formatter/src/comments/debug.rs:196
Functiondebug_command
()
crates/ty_server/tests/e2e/commands.rs:23
Functiondebug_int_classification
()
crates/ty_ide/src/semantic_tokens.rs:3928
Methoddebug_kind
(&self)
crates/ty_module_resolver/src/path.rs:840
Methoddebug_shadowing
Check for [`SemanticSyntaxErrorKind::WriteToDebug`] in `stmt`.
crates/ruff_python_parser/src/semantic_errors.rs:595
Functiondebug_user_defined_type_classification
()
crates/ty_ide/src/semantic_tokens.rs:3945
Functiondec
(x)
crates/ruff_linter/resources/test/fixtures/pyflakes/F823.py:20
Functiondecimal_okay
(value=Decimal("0.1"))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:217
Functiondeclarations
()
crates/ty_ide/src/find_references.rs:2239
Methoddeclared
(inner: Type<'db>)
crates/ty_python_semantic/src/types.rs:12083
Functiondeclared_in_type_checking_block
()
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/main.py:28
Functiondeclared_instance_attribute_avoids_inferring_method_assignments
()
crates/ty_python_semantic/src/types/infer/tests.rs:1803
Functiondeclared_lazy_relative_imports
(filename: &str)
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:236
Functiondeclines_dynamic_core_plugin_registries
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:3229
Functiondeclines_to_render_conjunction_separated_parameter_names
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:291
Functiondeclines_to_render_empty_return_section
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:342
Functiondeclines_to_render_empty_return_section
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:313
Functiondeclines_to_render_inline_section_heading_in_parameter_body
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:250
Functiondeclines_to_render_nested_parameter_items
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:274
Functiondeclines_to_render_parameter_section_with_unbalanced_type_brackets
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:303
Functiondeclines_to_render_parameter_section_with_unrecognized_leading_content
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:280
Functiondeclines_to_render_prose_only_return_section
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:319
Functiondeclines_to_render_section_nested_in_container
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:304
Functiondeclines_to_render_structurally_ambiguous_section
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:289
Functiondeclines_to_render_unclosed_parameter_fence
()
crates/ty_ide/src/docstring/markdown/structured/google.rs:263
Functiondeclines_to_render_unclosed_return_fence
()
crates/ty_ide/src/docstring/markdown/structured/numpy.rs:330
Functiondecorated
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments9.py:53
Functiondecorated1
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments5.py:48
Functiondecorated_func
(x: int)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:24
Functiondecorated_method_attribute_classification
()
crates/ty_ide/src/semantic_tokens.rs:2483
Functiondecorated_with_split_leading_comments
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments9.py:66
Functiondecorator_application
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:780
Functiondecorator_args_do_not_suppress_keywords
()
crates/ty_ide/src/completion.rs:9701
Functiondecorator_chained_call_args_do_not_suppress_keywords
()
crates/ty_ide/src/completion.rs:9714
Functiondecorator_classification
()
crates/ty_ide/src/semantic_tokens.rs:4284
Functiondecorator_default_schedule
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR002.py:14
Functiondecorator_deprecated_operator_args
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR311_args.py:22
Functiondecorator_deprecated_operator_args
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_args.py:53
Functiondecorator_for_test
Runs something
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:415
Functiondecorator_same_file
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_type_checking/mod.rs:388
Functiondecorator_schedule
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR002.py:19
Functiondecorator_schedule
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_args.py:38
Functiondecorator_schedule_interval
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR002.py:24
Functiondecorator_schedule_interval
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_args.py:43
Functiondecorator_sla_callback
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR311_args.py:17
Functiondecorator_timetable
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR002.py:29
Functiondecorator_timetable
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_args.py:48
Functiondecorator_without_class_or_function
()
crates/ty_ide/src/completion.rs:9688
Functiondecorators
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:88
Functiondecorators
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:79
Functiondedent_after_whitespace
()
crates/ruff_python_parser/src/lexer.rs:2112
Functiondedent_blank_line
()
crates/ruff_python_trivia/src/textwrap.rs:383
Functiondedent_empty
()
crates/ruff_python_trivia/src/textwrap.rs:343
Functiondedent_empty_line
()
crates/ruff_python_trivia/src/textwrap.rs:365
Functiondedent_mixed_newlines
()
crates/ruff_python_trivia/src/textwrap.rs:483
Functiondedent_mixed_tabbed_whitespace
()
crates/ruff_python_trivia/src/textwrap.rs:455
Functiondedent_mixed_whitespace
()
crates/ruff_python_trivia/src/textwrap.rs:427
Functiondedent_multi_line
()
crates/ruff_python_trivia/src/textwrap.rs:349
Functiondedent_non_python_whitespace
()
crates/ruff_python_trivia/src/textwrap.rs:498
Functiondedent_preserve_no_terminating_newline
()
crates/ruff_python_trivia/src/textwrap.rs:469
Functiondedent_tabbed_whitespace
()
crates/ruff_python_trivia/src/textwrap.rs:441
Functiondedent_to_handles_when_multiple_leading_form_feeds_greater_than_dedent_len
()
crates/ruff_python_trivia/src/textwrap.rs:715
Functiondedent_to_ignores_leading_form_feeds_in_provided_indentation
()
crates/ruff_python_trivia/src/textwrap.rs:790
Functiondedent_to_ignores_leading_form_feeds_when_checking_indentation
()
crates/ruff_python_trivia/src/textwrap.rs:729
Functiondedent_to_is_idempotent
()
crates/ruff_python_trivia/src/textwrap.rs:743
Functiondedent_to_only_whitespace_lines
()
crates/ruff_python_trivia/src/textwrap.rs:661
Functiondedent_to_preserves_crlf_for_lines_starting_with_form_feed
()
crates/ruff_python_trivia/src/textwrap.rs:673
Functiondedent_to_preserves_less_indented_later_line
()
crates/ruff_python_trivia/src/textwrap.rs:762
Functiondedent_to_preserves_less_indented_later_line_with_crlf
()
crates/ruff_python_trivia/src/textwrap.rs:776
Functiondedent_to_preserves_multiple_leading_form_feeds_on_first_line
()
crates/ruff_python_trivia/src/textwrap.rs:687
Functiondedent_to_preserves_multiple_leading_form_feeds_on_second_line
()
crates/ruff_python_trivia/src/textwrap.rs:701
Functiondedent_to_returns_none_if_indent_too_large
()
crates/ruff_python_trivia/src/textwrap.rs:651
Functiondedent_to_root
(content: &Content)
crates/ruff_formatter/src/builders.rs:861
Functiondedent_whitespace_line
()
crates/ruff_python_trivia/src/textwrap.rs:405
← previousnext →17,301–17,400 of 31,562, ranked by callers