MCPcopy Create free account

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

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

Functionnested_invalid_mapping_pattern_keys_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:450
Functionnested_lambda_chain_grows_stack
()
crates/ruff_python_parser/src/parser/tests.rs:510
Functionnested_level
()
crates/ruff_python_formatter/src/statement/suite.rs:1072
Functionnested_lists_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:416
Functionnested_local_same_name_does_not_mark_outer_used
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:887
Functionnested_macro_rules
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1683
Functionnested_match_case
()
crates/ty_python_core/src/lib.rs:2226
Functionnested_match_patterns_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:434
Functionnested_or_pattern_capture_used_in_guard_is_not_reported
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:336
Functionnested_overloaded_func
(a: int)
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:86
Functionnested_parens_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:382
Functionnested_partially_quoted_type_assignment
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4350
Functionnested_project_config_change_is_cheap_if_active_project_unchanged
()
crates/ty/tests/file_watching.rs:2874
Functionnested_projects_delete_root
()
crates/ty/tests/file_watching.rs:2895
Functionnested_projects_in_root_project
()
crates/ty_project/src/metadata.rs:873
Functionnested_projects_in_sub_project
()
crates/ty_project/src/metadata.rs:819
Functionnested_projects_with_outer_ty_section
()
crates/ty_project/src/metadata.rs:1694
Functionnested_projects_without_ty_sections
()
crates/ty_project/src/metadata.rs:927
Functionnested_range_suppressions
()
crates/ruff_linter/src/suppression.rs:1619
Functionnested_relative_typing_module
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:710
Functionnested_returns_one_non_empty
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004.py:31
Functionnested_scopes_with_return
()
crates/ty_ide/src/completion.rs:11044
Functionnested_search_path_picks_up_missed_dependency_edit
()
crates/ty/tests/file_watching.rs:1762
Functionnested_search_path_picks_up_missed_dependency_edit
()
crates/ty_server/tests/e2e/file_watching.rs:303
Functionnested_sibling_workspace_uses_correct_project
()
crates/ty_server/tests/e2e/workspace_folders.rs:602
Functionnested_sibling_workspace_uses_correct_settings
()
crates/ty_server/tests/e2e/workspace_folders.rs:563
Functionnested_site_packages_change_does_not_invalidate_dynamic_resolution_paths
()
crates/ty_module_resolver/src/resolve.rs:3234
Functionnested_subscripts_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:428
Functionnested_suppressions_for_other_lints_do_not_match
()
crates/ty_python_semantic/src/suppression.rs:982
Functionnested_trailing_function
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:317
Functionnested_try_finally
()
crates/ruff_linter/resources/test/fixtures/mccabe/C901.py:85
Functionnested_try_finally
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:345
Functionnested_unary_chains_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:531
Functionnested_visit_short_circuits_on_cycle
()
crates/ty_python_semantic/src/types/cyclic.rs:1678
Functionnested_workspace_remains_excluded_without_explicit_registration
()
crates/ruff_server/tests/e2e/workspace.rs:182
Functionnested_workspace_root_is_not_excluded_by_an_ancestor
()
crates/ruff_server/tests/e2e/workspace.rs:111
Functionnested_workspace_root_is_not_excluded_by_an_ancestor_in_a_multi_root_workspace
()
crates/ruff_server/tests/e2e/workspace.rs:126
Functionnested_yield
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:102
Methodnesting
Return the nesting level the iterator is currently in.
crates/ruff_python_ast/src/token/tokens.rs:368
Methodnever
(builder: &'c ConstraintSetBuilder<'db>)
crates/ty_python_semantic/src/types/constraints.rs:427
Functionnever_satisfied_cache_is_shared_across_source_orders
()
crates/ty_python_semantic/src/types/constraints.rs:6378
Functionnever_satisfied_results_depend_on_inferable
()
crates/ty_python_semantic/src/types/constraints.rs:6321
Methodnew
Splice `replacement` into the [`Snippet`] at the specified byte span <div class="warning"> Text passed to this function is considered "untrusted inp
crates/ruff_annotate_snippets/src/snippet.rs:477
Methodnew
(complete: &str, patches: &[TrimmedPatch<'_>], sm: &SourceMap<'_>)
crates/ruff_annotate_snippets/src/renderer/render.rs:2544
Methodnew
( whitespace_left: usize, span_left: usize, span_right: usize, label_right: us
crates/ruff_annotate_snippets/src/renderer/margin.rs:27
Methodnew
(source: &'a str, line_start: usize)
crates/ruff_annotate_snippets/src/renderer/source_map.rs:17
Methodnew
(ch: char, style: ElementStyle)
crates/ruff_annotate_snippets/src/renderer/styled_buffer.rs:27
Methodnew
(include: IncludeFilter, exclude: ExcludeFilter)
crates/ty_project/src/glob.rs:27
Methodnew
Creates a project with the given name and root that uses the default options.
crates/ty_project/src/metadata.rs:82
Methodnew
( project_metadata: ProjectMetadata, system: S, strategy: &Strategy, )
crates/ty_project/src/db.rs:160
Methodnew
(path: impl AsRef<SystemPath>, source: ValueSource)
crates/ty_project/src/metadata/value.rs:39
Methodnew
Create a validated, normalized package name.
crates/ty_project/src/metadata/pyproject.rs:205
Methodnew
(id: DiagnosticId, message: String, severity: Severity)
crates/ty_project/src/metadata/options.rs:2602
Methodnew
()
crates/ty_project/src/glob/exclude.rs:75
Methodnew
()
crates/ty_project/src/glob/include.rs:184
Methodnew
Create a new project watcher.
crates/ty_project/src/watch/project_watcher.rs:34
Methodnew
(system: &dyn System)
crates/ty_project/src/uv/command.rs:21
Methodnew
(results_sender: Sender<UvMetadataResult>, wake_sender: Sender<()>)
crates/ty_project/src/uv/service.rs:50
Methodnew
( file_name: &str, source: &str, uv_workspace_discovery: bool,
crates/ty_project/src/uv/environments.rs:1527
Methodnew
()
crates/ty_project/src/uv/metadata/string_interner.rs:24
Methodnew
(verbosity: VerbosityLevel, no_progress: bool)
crates/ty/src/printer.rs:15
Methodnew
( mode: MainLoopMode, printer: Printer, progress: indicatif::MultiProgress, )
crates/ty/src/lib.rs:332
Methodnew
()
crates/ty/tests/common/mod.rs:23
Methodnew
(content: &'src str, index: &'index LineIndex)
crates/ruff_source_file/src/lib.rs:30
Methodnew
Creates a non-zero if the given value is not zero.
crates/ruff_source_file/src/line_index.rs:586
Methodnew
(text: &'a str, offset: TextSize)
crates/ruff_source_file/src/newlines.rs:206
Methodnew
(source: &'a [u8], layout: EscapeLayout)
crates/ruff_python_literal/src/escape.rs:483
Methodnew
()
crates/ruff_python_semantic/src/globals.rs:65
Methodnew
( typing_modules: &'a [String], custom_builtins: &'a [String], target_version: PythonV
crates/ruff_python_semantic/src/model.rs:208
Methodnew
Initialize a new [`DunderAllDefinition`] instance.
crates/ruff_python_semantic/src/model/all.rs:57
Methodnew
(cfg: ControlFlowGraph<'stmt>, source: &'stmt str)
crates/ruff_python_semantic/src/cfg/visualize.rs:163
Methodnew
(client_capabilities: &ClientCapabilities)
crates/ty_server/src/capabilities.rs:216
Methodnew
( worker_threads: NonZeroUsize, connection: Connection, native_system: Arc<dyn System
crates/ty_server/src/server.rs:52
Methodnew
( resolved_client_capabilities: ResolvedClientCapabilities, position_encoding: PositionEncodin
crates/ty_server/src/session.rs:166
Methodnew
( index: Arc<Index>, native_system: Arc<dyn System + 'static + Send + Sync + RefUnwindSafe>,
crates/ty_server/src/system.rs:92
Methodnew
()
crates/ty_server/src/session/request_queue.rs:17
Methodnew
()
crates/ty_server/src/session/index.rs:19
Methodnew
(main_loop_sender: MainLoopSender, client_sender: ConnectionSender)
crates/ty_server/src/session/client.rs:20
Methodnew
(capabilities: ResolvedClientCapabilities)
crates/ty_server/src/session/file_watcher.rs:67
Methodnew
( uri: Uri, contents: String, version: DocumentVersion, language_id: LanguageK
crates/ty_server/src/document/text_document.rs:52
Methodnew
( uri: lsp_types::Uri, notebook_version: DocumentVersion, cells: Vec<lsp_types::Notebo
crates/ty_server/src/document/notebook.rs:43
Methodnew
Uses the supplied progress token or queues a create request for the main loop to send.
crates/ty_server/src/server/lazy_work_done_progress.rs:51
Methodnew
(err: anyhow::Error, code: server::ErrorCode)
crates/ty_server/src/server/api.rs:600
Methodnew
(worker_threads: NonZeroUsize)
crates/ty_server/src/server/schedule.rs:40
Methodnew
(work_done: LazyWorkDoneProgress, response: ResponseWriter<'a>)
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:237
Methodnew
(priority: ThreadPriority)
crates/ty_server/src/server/schedule/thread.rs:41
Methodnew
(threads: NonZeroUsize)
crates/ty_server/src/server/schedule/thread/pool.rs:55
Methodnew
Create a new test server with the given workspace configurations
crates/ty_server/tests/e2e/main.rs:226
Methodnew
(name: &str)
crates/ty_module_resolver/src/module_name.rs:34
Methodnew
( db: &'db dyn Db, resolver_environment: ResolverEnvironment<'db>, mode: ModuleResolve
crates/ty_module_resolver/src/resolve.rs:1897
Methodnew
()
crates/ty_module_resolver/src/db.rs:34
Methodnew
Creates a new empty builder.
crates/ty_module_resolver/src/module_glob.rs:144
Methodnew
(src_roots: Vec<SystemPathBuf>)
crates/ty_module_resolver/src/settings.rs:38
Methodnew
( context: &ResolverContext<'db>, path: ModulePath, enumeration_allowed: Option<bool>,
crates/ty_module_resolver/src/path.rs:278
Methodnew
()
crates/ty_module_resolver/src/testing.rs:185
Methodnew
(db: &dyn Db, candidate: &ModuleResolutionCandidate<'_>)
crates/ty_module_resolver/src/resolve/search.rs:525
Methodnew
(text: &'a str)
crates/ruff_formatter/src/source_code.rs:12
Methodnew
(value: NonZeroU32, debug_name: &'static str)
crates/ruff_formatter/src/group_id.rs:14
Methodnew
(state: &'a mut FormatState<Context>)
crates/ruff_formatter/src/buffer.rs:178
Methodnew
(mode: LineMode)
crates/ruff_formatter/src/builders.rs:200
← previousnext →25,401–25,500 of 31,766, ranked by callers