Unverified Commit b3ceb293 authored by Hadi Alqattan's avatar Hadi Alqattan Committed by GitHub
Browse files

Remove unused import statements using Pycln. (#2021)

* remove unused imports using Pycln.

* reverse comma style.
parent 12f98219
Loading
Loading
Loading
Loading
+0 −3
Changes for src/blib2to3/pgen2/driver.py: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@
__all__ = ["Driver", "load_grammar"]

# Python imports
import codecs
import io
import os
import logging
@@ -24,7 +23,6 @@
import sys
from typing import (
    Any,
    Callable,
    IO,
    Iterable,
    List,
@@ -32,7 +30,6 @@
    Text,
    Tuple,
    Union,
    Sequence,
)

# Pgen imports
+0 −2
Changes for src/blib2to3/pgen2/parse.py: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@
from typing import (
    Optional,
    Text,
    Sequence,
    Any,
    Union,
    Tuple,
    Dict,
+0 −1
Changes for src/blib2to3/pgen2/pgen.py: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
    Any,
    Dict,
    IO,
    Iterable,
    Iterator,
    List,
    Optional,
+0 −1
Changes for src/blib2to3/pytree.py: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@
    Union,
    Set,
    Iterable,
    Sequence,
)
from blib2to3.pgen2.grammar import Grammar