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/proxy/state_impl/_operations/load_packages.py | 3 --- src/hydrilla/proxy/state_impl/_operations/prune_orphans.py | 3 --- src/hydrilla/proxy/state_impl/_operations/pull_missing_files.py | 3 --- src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py | 3 --- src/hydrilla/proxy/state_impl/base.py | 3 --- src/hydrilla/proxy/state_impl/concrete_state.py | 3 --- src/hydrilla/proxy/state_impl/items.py | 3 --- src/hydrilla/proxy/state_impl/payloads.py | 3 --- src/hydrilla/proxy/state_impl/repos.py | 3 --- src/hydrilla/proxy/state_impl/rules.py | 3 --- 10 files changed, 30 deletions(-) (limited to 'src/hydrilla/proxy/state_impl') diff --git a/src/hydrilla/proxy/state_impl/_operations/load_packages.py b/src/hydrilla/proxy/state_impl/_operations/load_packages.py index af9557a..288ee5b 100644 --- a/src/hydrilla/proxy/state_impl/_operations/load_packages.py +++ b/src/hydrilla/proxy/state_impl/_operations/load_packages.py @@ -29,9 +29,6 @@ .... """ -# Enable using with Python 3.7. -from __future__ import annotations - import io import mimetypes import sqlite3 diff --git a/src/hydrilla/proxy/state_impl/_operations/prune_orphans.py b/src/hydrilla/proxy/state_impl/_operations/prune_orphans.py index 5eb8cf7..7bb5eb5 100644 --- a/src/hydrilla/proxy/state_impl/_operations/prune_orphans.py +++ b/src/hydrilla/proxy/state_impl/_operations/prune_orphans.py @@ -29,9 +29,6 @@ .... """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 from pathlib import Path diff --git a/src/hydrilla/proxy/state_impl/_operations/pull_missing_files.py b/src/hydrilla/proxy/state_impl/_operations/pull_missing_files.py index 7c20522..b4bc1ac 100644 --- a/src/hydrilla/proxy/state_impl/_operations/pull_missing_files.py +++ b/src/hydrilla/proxy/state_impl/_operations/pull_missing_files.py @@ -29,9 +29,6 @@ .... """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 import hashlib diff --git a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py index 4cc4e7a..399e20e 100644 --- a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py +++ b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py @@ -29,9 +29,6 @@ .... """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 import typing as t diff --git a/src/hydrilla/proxy/state_impl/base.py b/src/hydrilla/proxy/state_impl/base.py index d99feab..357ae88 100644 --- a/src/hydrilla/proxy/state_impl/base.py +++ b/src/hydrilla/proxy/state_impl/base.py @@ -31,9 +31,6 @@ This module defines fields that will later be part of a concrete HaketiloState subtype. """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 import threading import secrets diff --git a/src/hydrilla/proxy/state_impl/concrete_state.py b/src/hydrilla/proxy/state_impl/concrete_state.py index f189aa2..d7998d6 100644 --- a/src/hydrilla/proxy/state_impl/concrete_state.py +++ b/src/hydrilla/proxy/state_impl/concrete_state.py @@ -30,9 +30,6 @@ This module contains logic for keeping track of all settings, rules, mappings and resources. """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 import secrets import typing as t diff --git a/src/hydrilla/proxy/state_impl/items.py b/src/hydrilla/proxy/state_impl/items.py index 6a41300..9fa12ab 100644 --- a/src/hydrilla/proxy/state_impl/items.py +++ b/src/hydrilla/proxy/state_impl/items.py @@ -31,9 +31,6 @@ This module provides an interface to interact with mappings, and resources inside Haketilo. """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 import typing as t import dataclasses as dc diff --git a/src/hydrilla/proxy/state_impl/payloads.py b/src/hydrilla/proxy/state_impl/payloads.py index ebc7152..383217c 100644 --- a/src/hydrilla/proxy/state_impl/payloads.py +++ b/src/hydrilla/proxy/state_impl/payloads.py @@ -29,9 +29,6 @@ This module provides an interface to interact with payloads inside Haketilo. """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 import dataclasses as dc import typing as t diff --git a/src/hydrilla/proxy/state_impl/repos.py b/src/hydrilla/proxy/state_impl/repos.py index 85117c8..7e38a90 100644 --- a/src/hydrilla/proxy/state_impl/repos.py +++ b/src/hydrilla/proxy/state_impl/repos.py @@ -30,9 +30,6 @@ This module provides an interface to interact with repositories configured inside Haketilo. """ -# Enable using with Python 3.7. -from __future__ import annotations - import re import json import tempfile diff --git a/src/hydrilla/proxy/state_impl/rules.py b/src/hydrilla/proxy/state_impl/rules.py index 0cdcf2c..2fed2c1 100644 --- a/src/hydrilla/proxy/state_impl/rules.py +++ b/src/hydrilla/proxy/state_impl/rules.py @@ -30,9 +30,6 @@ This module provides an interface to interact with script allowing/blocking rules configured inside Haketilo. """ -# Enable using with Python 3.7. -from __future__ import annotations - import sqlite3 import typing as t import dataclasses as dc -- cgit v1.2.3