diff --git a/docs/source/utils/generate_tutorials.py b/docs/source/utils/generate_tutorials.py index 5e8e0e333..c35bb5749 100644 --- a/docs/source/utils/generate_tutorials.py +++ b/docs/source/utils/generate_tutorials.py @@ -30,9 +30,7 @@ def generate_nb_gallery(package: str, files: List[Path]) -> str: def create_index_file( - included: Union[Tuple[str, str], Tuple[str, str, List[Tuple[str, str]]]], - files: List[Path], - destination: Path + included: Union[Tuple[str, str], Tuple[str, str, List[Tuple[str, str]]]], files: List[Path], destination: Path ): """ Create a package index file. diff --git a/scripts/misc.py b/scripts/misc.py index 0d974833a..daf2deabc 100644 --- a/scripts/misc.py +++ b/scripts/misc.py @@ -1,6 +1,3 @@ -import os -import stat -import sys import bumpversion.cli as bumpversion from colorama import init, Fore, Style