Remove unused imports in buildpack files
MODIFY
repo2docker/buildpacks/base.py
repo2docker/buildpacks/base.py
import textwrap
from traitlets.config import LoggingConfigurable
from traitlets import Unicode, Set, List, Dict, Tuple, default
-from textwrap import dedent
import jinja2
import tarfile
import io

MODIFY
repo2docker/buildpacks/conda.py
repo2docker/buildpacks/conda.py
"""
Generates a variety of Dockerfiles based on an input matrix
"""
-import textwrap
-from traitlets.config import LoggingConfigurable
-from traitlets import Unicode, Set, List, Dict, Tuple, default
-from textwrap import dedent
-import jinja2
-import tarfile
-import io
+from traitlets import default
import os
-import stat
-import re
-import docker
from .base import BuildPack

MODIFY
repo2docker/buildpacks/docker.py
repo2docker/buildpacks/docker.py
"""
Generates a variety of Dockerfiles based on an input matrix
"""
-import textwrap
-from traitlets.config import LoggingConfigurable
-from traitlets import Unicode, Set, List, Dict, Tuple, default
-from textwrap import dedent
-import jinja2
-import tarfile
-import io
import os
-import stat
-import re
import docker
from .base import BuildPack

MODIFY
repo2docker/buildpacks/julia.py
repo2docker/buildpacks/julia.py
"""
Generates a variety of Dockerfiles based on an input matrix
"""
-import textwrap
-from traitlets.config import LoggingConfigurable
-from traitlets import Unicode, Set, List, Dict, Tuple, default
-from textwrap import dedent
-import jinja2
-import tarfile
-import io
+from traitlets import default
import os
-import stat
-import re
-import docker
from .base import BuildPack

MODIFY
repo2docker/buildpacks/legacy.py
repo2docker/buildpacks/legacy.py
"""
Generates a variety of Dockerfiles based on an input matrix
"""
-import textwrap
-from traitlets.config import LoggingConfigurable
-from traitlets import Unicode, Set, List, Dict, Tuple, default
+from traitlets import Unicode
from textwrap import dedent
-import jinja2
-import tarfile
-import io
-import os
-import stat
-import re
-import docker
from .docker import DockerBuildPack
class LegacyBinderDockerBuildPack(DockerBuildPack):

MODIFY
repo2docker/buildpacks/python.py
repo2docker/buildpacks/python.py
"""
Generates a variety of Dockerfiles based on an input matrix
"""
-import textwrap
-from traitlets.config import LoggingConfigurable
-from traitlets import Unicode, Set, List, Dict, Tuple, default
-from textwrap import dedent
-import jinja2
-import tarfile
-import io
+from traitlets import default
import os
-import stat
-import re
-import docker
from .base import BuildPack

Remove unused imports in buildpack files