INNER CODE UNIT · Python

InvalidPython

snakemake/snakefmt · snakefmt/exceptions.py:1

class InvalidPython(Exception):
    pass


class StopParsing(Exception):
    pass


class EmptyContextError(Exception):
    pass


def NotAnIdentifierError(line_nb: str, identifier: str, keyword_line: str):
    raise SyntaxError(
        f"{line_nb}'{identifier}' in '{keyword_line}' is not a valid identifier"
    )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…