aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/state_impl
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-11 11:17:56 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-11 13:12:15 +0200
commit634cef218e9979053da3367c79de6d740633c61a (patch)
tree317ebb413ad98067c142004c0da79f2cbb160457 /src/hydrilla/proxy/state_impl
parent94e140e685baae38e8977fe90a3304bbc041ae66 (diff)
downloadhaketilo-hydrilla-634cef218e9979053da3367c79de6d740633c61a.tar.gz
haketilo-hydrilla-634cef218e9979053da3367c79de6d740633c61a.zip
[builder][server][proxy] remove "from __future__ import annotations"
Diffstat (limited to 'src/hydrilla/proxy/state_impl')
-rw-r--r--src/hydrilla/proxy/state_impl/_operations/load_packages.py3
-rw-r--r--src/hydrilla/proxy/state_impl/_operations/prune_orphans.py3
-rw-r--r--src/hydrilla/proxy/state_impl/_operations/pull_missing_files.py3
-rw-r--r--src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py3
-rw-r--r--src/hydrilla/proxy/state_impl/base.py3
-rw-r--r--src/hydrilla/proxy/state_impl/concrete_state.py3
-rw-r--r--src/hydrilla/proxy/state_impl/items.py3
-rw-r--r--src/hydrilla/proxy/state_impl/payloads.py3
-rw-r--r--src/hydrilla/proxy/state_impl/repos.py3
-rw-r--r--src/hydrilla/proxy/state_impl/rules.py3
10 files changed, 0 insertions, 30 deletions
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