Add isort to CI and run on files

This commit is contained in:
gregorni 2023-07-09 14:26:37 +00:00 committed by James Westman
parent f526cfa4d9
commit 3730e2e726
45 changed files with 112 additions and 113 deletions

View file

@ -20,21 +20,19 @@
""" Utilities for parsing an AST from a token stream. """
import typing as T
from collections import defaultdict
from enum import Enum
from .ast_utils import AstNode
from .ast_utils import AstNode
from .errors import (
assert_true,
CompilerBugError,
CompileError,
CompilerBugError,
CompileWarning,
UnexpectedTokenError,
assert_true,
)
from .tokenizer import Token, TokenType
SKIP_TOKENS = [TokenType.COMMENT, TokenType.WHITESPACE]