MCPcopy Create free account

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

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

Functionlinked_directory_exists
(db: &dyn Db, directory: File)
crates/ruff_db/src/files/directory.rs:152
Methodlint
Creates a new `DiagnosticId` for a lint with the given name.
crates/ruff_db/src/diagnostic/mod.rs:1072
Functionlint_cached
(bencher: Bencher, project: &Project)
crates/ruff_benchmark/benches/ruff_walltime.rs:88
Functionlint_custom_extension_mapped_to_markdown_emits_no_diagnostics
()
crates/ruff_server/tests/e2e/custom_extension.rs:77
Functionlint_doc
(fixture_path: &Utf8Path, content: String)
crates/ty_python_semantic/tests/mdtest.rs:26
Functionlint_map_unit_fn
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2455
Functionlint_metadata_defaults
(status: LintStatus)
crates/ty_python_semantic/src/lint.rs:152
Functionlint_options
()
crates/ruff/tests/cli/lint.rs:85
Methodlint_registry
(&self)
crates/ty_python_semantic/tests/corpus.rs:234
Methodlint_registry
(&self)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:142
Functionlint_select
()
crates/ruff/tests/config.rs:9
Functionlint_select_json
()
crates/ruff/tests/config.rs:41
Functionlint_uncached
(bencher: Bencher, project: &Project)
crates/ruff_benchmark/benches/ruff_walltime.rs:83
Methodlinted
Return whether or not the file in the cache was linted and found to have no diagnostics.
crates/ruff/src/cache.rs:352
Functionlinter_no_panic
(range: &str)
crates/ty_python_semantic/tests/corpus.rs:48
Functionlinter_parse_code
()
crates/ruff_linter/src/registry.rs:553
Functionlinter_quick_test
()
crates/ruff_linter/src/lib.rs:74
Functionlinter_sorting
()
crates/ruff_linter/src/registry.rs:571
Functionlinter_stubs_no_panic
()
crates/ty_python_semantic/tests/corpus.rs:56
Methodlion
(self)
crates/ty_completion_eval/truth/object-attr-instance-methods/main.py:3
Functionliouiwnlkjl
Returns foo.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:360
Functionlist_all_module_names
(db: &TestDb)
crates/ty_module_resolver/src/list.rs:1692
Functionlist_comp
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:83
Methodlist_comp_expr
(self)
crates/ruff_python_ast/src/generated.rs:1916
Functionlist_comp_fields
(node: &ast::ExprListComp)
crates/ruff_python_ast/src/comparable.rs:1163
Functionlist_comprehension
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:46
Functionlist_comprehension
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:37
Functionlist_comprehension1
()
crates/ty_ide/src/completion.rs:4240
Functionlist_comprehension2
()
crates/ty_ide/src/completion.rs:4257
Functionlist_comprehension_also_not_okay
(default=[i**2 for i in range(3)])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:102
Functionlist_comprehension_member
()
crates/ty_ide/src/completion.rs:4271
Functionlist_concatenation_assignment
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:3429
Methodlist_expr
(self)
crates/ruff_python_ast/src/generated.rs:2693
Functionlist_fields
(node: &ast::ExprList)
crates/ruff_python_ast/src/comparable.rs:1396
Functionlist_fruits
(self, cls)
crates/ruff_linter/resources/test/fixtures/pylint/self_or_cls_assignment.py:41
Methodlist_fruits
(cls)
crates/ruff_linter/resources/test/fixtures/pylint/self_or_cls_assignment.py:3
Methodlist_fruits_static
(self, cls)
crates/ruff_linter/resources/test/fixtures/pylint/self_or_cls_assignment.py:36
Functionlist_members_archive_handler
(filename)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S202.py:18
Functionlist_snapshot
(db: &TestDb)
crates/ty_module_resolver/src/list.rs:58
Functionlisting_is_sorted
()
crates/ruff_db/src/files/directory.rs:187
Functionliteral_backticks_do_not_swallow_the_following_field
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:811
Methodliteral_block_marker
Tries to identify a marker that introduces a reST literal block.
crates/ty_ide/src/docstring/document/preformatted.rs:245
Functionliteral_blocks_take_precedence_over_markdown_fences_in_preformatted_blocks
()
crates/ty_ide/src/docstring/document/rst.rs:1052
Functionliteral_blocks_use_marker_indentation_as_exit_threshold
()
crates/ty_ide/src/docstring/document/rst.rs:1068
Functionliteral_colon
()
crates/ty_ide/src/docstring.rs:257
Functionliteral_doctest
()
crates/ty_ide/src/docstring.rs:999
Functionliteral_fallthrough_value
(index: usize)
crates/ruff_benchmark/benches/ty.rs:1923
Functionliteral_flush
()
crates/ty_ide/src/docstring.rs:412
Functionliteral_intersection_simplification_matches_relations
()
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:3068
Functionliteral_keys_preserve_part_boundaries
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:112
Functionliteral_own_line
()
crates/ty_ide/src/docstring.rs:335
Functionliteral_space
()
crates/ty_ide/src/docstring.rs:296
Functionliteral_squeezed
()
crates/ty_ide/src/docstring.rs:376
Methodliteral_string
Create a `LiteralString`.
crates/ty_python_semantic/src/types.rs:3442
Functionliteral_type_some_other_module
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4494
Functionliteral_type_typing
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4427
Functionliteral_type_typing_extensions
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4440
Functionliteral_union_type_typing
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4511
Functionload_library
It is possible to load a library using >>> lib = ctypes.cdll[<full_path_name>] # doctest: +SKIP But there are cross-platfor
crates/ruff_benchmark/resources/numpy/ctypeslib.py:90
Functionlocal_function_variable_with_return
()
crates/ty_ide/src/completion.rs:10775
Functionlocal_mcs_binding
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:41
Functionlocal_self_binding
()
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:25
Functionlocation
(point)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/match.py:29
Methodlog_message
(client: LSPClient, params: lsp.LogMessageParams)
scripts/ty_benchmark/src/benchmark/lsp_client.py:85
Functionlogging_call
Check logging calls for violations.
crates/ruff_linter/src/rules/flake8_logging_format/rules/logging_call.rs:270
Functionlogical
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:203
Functionlong_docstring
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:312
Functionlong_e0308
()
crates/ruff_annotate_snippets/tests/formatter.rs:2681
Functionlong_function_name
(argument_one, argument_two, argument_three, argument_four, argument_five, argument_six, *rest)
crates/ruff_python_formatter/resources/test/fixtures/black/miscellaneous/force_py36.py:3
Functionlong_function_name
( var_one, var_two, var_three, var_four)
crates/ruff_linter/resources/test/fixtures/pycodestyle/W19.py:54
Functionlong_function_name_goes_here
( x: Callable[List[int]] )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/typed_params_trailing_comma.py:1
Functionlong_line_cut
()
crates/ruff_annotate_snippets/tests/formatter.rs:5412
Functionlong_line_cut_custom
()
crates/ruff_annotate_snippets/tests/formatter.rs:5430
Functionlong_lines
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff.py:129
Functionlong_lines
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/function.py:45
Functionlong_one_with_long_parameter_names
( but_all_of_them, are_positional_only, arguments_mmmmkay, so_this_is_only_valid_after, th
crates/ruff_python_formatter/resources/test/fixtures/black/cases/pep_570.py:27
Functionlong_params
(a, b, c, d, e, f, g)
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/compound_one_liners.py:10
Functionlong_snippet
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:963
Functionlong_snippet_multiple_spans
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1041
Functionlong_span_long
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2369
Functionlong_span_longest
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2413
Functionlong_span_short
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2325
Functionlong_span_shortest
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2283
Functionlonger
(something_that_is_long: something_that_is_long)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_param_defaults.py:12
Functionlonger_line_number_end_of_context
()
crates/ruff_db/src/diagnostic/render/full.rs:1072
Methodlookup_dunder_new_inner
( db: &'db dyn Db, program: Program<'db>, ty: Type<'db>, polic
crates/ty_python_semantic/src/types.rs:4455
Functionloop_assign
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N806.py:39
Functionloop_carried_rebinding_is_not_reported_unused
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:307
Functionloop_deletions_preserve_builtin_fallbacks
()
crates/ty_python_semantic/src/semantic_model.rs:1650
Functionloop_header_reachability_cycle_recover
( _db: &'db dyn Db, cycle: &salsa::Cycle, previous: &LoopHeaderReachability<'db>, result: Loop
crates/ty_python_semantic/src/place.rs:1622
Functionloop_predicate_tracks_changes_to_bool_method
()
crates/ty_python_semantic/src/types/infer/tests.rs:577
Functionloop_variable_types_are_independent_of_file_order
()
crates/ty_python_semantic/src/types/infer/tests.rs:516
Functionlowercase_sub_section_header
Below, `returns:` should _not_ be considered a section header. Args: Here's a note. returns:
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:547
Methodlowest
The minimum supported Python version.
crates/ruff_python_ast/src/python_version.rs:59
Functionlru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_0.py:40
Functionlru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP011.py:61
Functionlru_cache
(maxsize=None)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_1.py:45
Methodlru_cached_classmethod
(cls, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:41
Methodlru_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:95
Methodlru_cached_instance_method_on_metaclass
(cls, x: int)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:125
← previousnext →23,701–23,800 of 31,766, ranked by callers