From 634cef218e9979053da3367c79de6d740633c61a Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 11 Oct 2022 11:17:56 +0200 Subject: [builder][server][proxy] remove "from __future__ import annotations" --- src/hydrilla/builder/build.py | 3 --- src/hydrilla/builder/common_errors.py | 3 --- src/hydrilla/builder/local_apt.py | 3 --- src/hydrilla/builder/piggybacking.py | 3 --- 4 files changed, 12 deletions(-) (limited to 'src/hydrilla/builder') diff --git a/src/hydrilla/builder/build.py b/src/hydrilla/builder/build.py index 8a97a20..3ae6ea9 100644 --- a/src/hydrilla/builder/build.py +++ b/src/hydrilla/builder/build.py @@ -25,9 +25,6 @@ # code in a proprietary program, I am not going to enforce this in # court. -# Enable using with Python 3.7. -from __future__ import annotations - import json import re import zipfile diff --git a/src/hydrilla/builder/common_errors.py b/src/hydrilla/builder/common_errors.py index 13d32a5..c5d131f 100644 --- a/src/hydrilla/builder/common_errors.py +++ b/src/hydrilla/builder/common_errors.py @@ -29,9 +29,6 @@ This module defines error types for use in other parts of Hydrilla builder. """ -# Enable using with Python 3.7. -from __future__ import annotations - from pathlib import Path from typing import Optional from subprocess import CompletedProcess as CP diff --git a/src/hydrilla/builder/local_apt.py b/src/hydrilla/builder/local_apt.py index 385a533..cc28bcc 100644 --- a/src/hydrilla/builder/local_apt.py +++ b/src/hydrilla/builder/local_apt.py @@ -25,9 +25,6 @@ # code in a proprietary program, I am not going to enforce this in # court. -# Enable using with Python 3.7. -from __future__ import annotations - import zipfile import shutil import re diff --git a/src/hydrilla/builder/piggybacking.py b/src/hydrilla/builder/piggybacking.py index c152135..3be674e 100644 --- a/src/hydrilla/builder/piggybacking.py +++ b/src/hydrilla/builder/piggybacking.py @@ -30,9 +30,6 @@ This module contains definitions that may be reused by multiple piggybacked software system backends. """ -# Enable using with Python 3.7. -from __future__ import annotations - import typing as t from pathlib import Path, PurePosixPath -- cgit v1.2.3