mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add isort to CI and run on files
This commit is contained in:
parent
f526cfa4d9
commit
3730e2e726
45 changed files with 112 additions and 113 deletions
|
@ -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]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue