diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-07-05 08:18:56 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-07-06 01:35:48 -0400 |
commit | c95c20267c54363751e03dfcbba2e4f5b1167572 (patch) | |
tree | 57ffdb13dc5bfcfb4aea28ec43012f26f73973ee /hadrian | |
parent | 4ddc1d3e47a01aa3ab95cf08b7fc76911af4131a (diff) | |
download | haskell-c95c20267c54363751e03dfcbba2e4f5b1167572.tar.gz |
Fix lint warnings in bootstrap.py
Diffstat (limited to 'hadrian')
-rwxr-xr-x | hadrian/bootstrap/bootstrap.py | 7 |
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 |