INNER CODE UNIT · Python

long_quote

PyCQA/isort · isort/core.py:147

                long_quote = line[char_index : char_index + 3]
                if long_quote in ('"""', "'''"):
                    in_quote = long_quote
                    char_index += 2
                else:
                    in_quote = line[char_index]
            elif line[char_index] == "#":
                break
            char_index += 1

    return in_quote


# Ignore DeepSource cyclomatic complexity check for this function.
# skipcq: PY-R1000
def process(
    input_stream: TextIO,
    output_stream: TextIO,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…