Remove unused import statements using Pycln. (#2021)
* remove unused imports using Pycln. * reverse comma style.
This commit is contained in:
parent
12f98219bc
commit
b3ceb293d9
@ -16,7 +16,6 @@
|
|||||||
__all__ = ["Driver", "load_grammar"]
|
__all__ = ["Driver", "load_grammar"]
|
||||||
|
|
||||||
# Python imports
|
# Python imports
|
||||||
import codecs
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
@ -24,7 +23,6 @@
|
|||||||
import sys
|
import sys
|
||||||
from typing import (
|
from typing import (
|
||||||
Any,
|
Any,
|
||||||
Callable,
|
|
||||||
IO,
|
IO,
|
||||||
Iterable,
|
Iterable,
|
||||||
List,
|
List,
|
||||||
@ -32,7 +30,6 @@
|
|||||||
Text,
|
Text,
|
||||||
Tuple,
|
Tuple,
|
||||||
Union,
|
Union,
|
||||||
Sequence,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Pgen imports
|
# Pgen imports
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
from typing import (
|
from typing import (
|
||||||
Optional,
|
Optional,
|
||||||
Text,
|
Text,
|
||||||
Sequence,
|
|
||||||
Any,
|
|
||||||
Union,
|
Union,
|
||||||
Tuple,
|
Tuple,
|
||||||
Dict,
|
Dict,
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
Any,
|
Any,
|
||||||
Dict,
|
Dict,
|
||||||
IO,
|
IO,
|
||||||
Iterable,
|
|
||||||
Iterator,
|
Iterator,
|
||||||
List,
|
List,
|
||||||
Optional,
|
Optional,
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
Union,
|
Union,
|
||||||
Set,
|
Set,
|
||||||
Iterable,
|
Iterable,
|
||||||
Sequence,
|
|
||||||
)
|
)
|
||||||
from blib2to3.pgen2.grammar import Grammar
|
from blib2to3.pgen2.grammar import Grammar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user