summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-07-05 08:18:56 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-06 01:35:48 -0400
commitc95c20267c54363751e03dfcbba2e4f5b1167572 (patch)
tree57ffdb13dc5bfcfb4aea28ec43012f26f73973ee
parent4ddc1d3e47a01aa3ab95cf08b7fc76911af4131a (diff)
downloadhaskell-c95c20267c54363751e03dfcbba2e4f5b1167572.tar.gz
Fix lint warnings in bootstrap.py
-rwxr-xr-xhadrian/bootstrap/bootstrap.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/hadrian/bootstrap/bootstrap.py b/hadrian/bootstrap/bootstrap.py
index 6a9ffa5641..9609782200 100755
--- a/hadrian/bootstrap/bootstrap.py
+++ b/hadrian/bootstrap/bootstrap.py
@@ -15,7 +15,6 @@ please rather run `cabal build hadrian .`. or `./hadrian/build`
from enum import Enum
import hashlib
-import logging
import json
from pathlib import Path
import platform
@@ -24,8 +23,8 @@ import subprocess
import tempfile
import sys
from textwrap import dedent
-from typing import Set, Optional, Dict, List, Tuple, \
- NewType, BinaryIO, NamedTuple, TypeVar
+from typing import Optional, Dict, List, Tuple, \
+ NewType, BinaryIO, NamedTuple
#logging.basicConfig(level=logging.INFO)
@@ -296,7 +295,7 @@ def archive_name(version):
def make_archive(hadrian_path):
- print(f'Creating distribution tarball')
+ print('Creating distribution tarball')
# Get bootstrapped hadrian version
# This also acts as smoke test