MCPcopy Create free account
hub / github.com/astral-sh/ruff / latest_preview

Method latest_preview

crates/ruff_python_ast/src/python_version.rs:68–72  ·  view source on GitHub ↗

The latest Python version supported in preview

()

Source from the content-addressed store, hash-verified

66
67 /// The latest Python version supported in preview
68 pub fn latest_preview() -> Self {
69 let latest_preview = Self::PY315;
70 debug_assert!(latest_preview >= Self::latest());
71 latest_preview
72 }
73
74 pub const fn latest_ty() -> Self {
75 // Make sure to update the default value for `EnvironmentOptions::python_version` when bumping this version.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected