def METHOD_NAME(filename: str) -> None:
    magic_trailing_comma = filename != "skip_magic_trailing_comma"
    mode = black.Mode(
        magic_trailing_comma=magic_trailing_comma, is_pyi=filename.endswith("_pyi")
    )
    check_file("simple_cases", filename, mode)