mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 05:25:17 +00:00
Add formatting of type alias statements (#6162)
Part of #5062 Extends https://github.com/astral-sh/ruff/pull/6161 Closes #5929
This commit is contained in:
parent
1a60d1e3c6
commit
5b2e973fa5
5 changed files with 259 additions and 80 deletions
|
@ -188,6 +188,7 @@ impl Format<PyFormatContext<'_>> for NotYetImplemented {
|
|||
pub(crate) struct NotYetImplementedCustomText(&'static str);
|
||||
|
||||
/// Formats a placeholder for nodes that have not yet been implemented
|
||||
#[allow(dead_code)]
|
||||
pub(crate) const fn not_yet_implemented_custom_text(
|
||||
text: &'static str,
|
||||
) -> NotYetImplementedCustomText {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue