HF RL Explorer

I want black.format str(src contents: str, , mode: black.Mode, lines=()) - str to normalize Python…

I want black.format str(src contents: str, , mode: black.Mode, lines=()) - str to normalize Python…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). I want black.format str(src contents: str, , mode: black.Mode, lines=()) - str to normalize Python numeric literal spelling as…

The task

I want black.format_str(src_contents: str, , mode: black.Mode, lines=()) -> str to normalize Python numeric literal spelling as part of formatting ordinary Python source strings. For black.format_str("x = .1\n", mode=black.Mode()), it should return "x = 0.1\n", and for…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.