From a408d1dbb0479cea14da076f37ed6f939ac1d121 Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Sat, 27 May 2023 00:31:42 -0600 Subject: [PATCH] autoflake --- projects/tentacles/src/python/tentacles/blueprints/api.py | 2 -- .../tentacles/src/python/tentacles/blueprints/printer_ui.py | 2 -- projects/tentacles/src/python/tentacles/blueprints/user_ui.py | 4 +--- projects/tentacles/src/python/tentacles/blueprints/util.py | 2 -- projects/tentacles/src/python/tentacles/globals.py | 1 - 5 files changed, 1 insertion(+), 10 deletions(-) diff --git a/projects/tentacles/src/python/tentacles/blueprints/api.py b/projects/tentacles/src/python/tentacles/blueprints/api.py index 4bab571..43497e3 100644 --- a/projects/tentacles/src/python/tentacles/blueprints/api.py +++ b/projects/tentacles/src/python/tentacles/blueprints/api.py @@ -2,8 +2,6 @@ """API endpoints supporting the 'ui'.""" -from importlib.resources import files -from sys import meta_path, prefix from flask import Blueprint, request, Request, redirect diff --git a/projects/tentacles/src/python/tentacles/blueprints/printer_ui.py b/projects/tentacles/src/python/tentacles/blueprints/printer_ui.py index 983688c..27e273e 100644 --- a/projects/tentacles/src/python/tentacles/blueprints/printer_ui.py +++ b/projects/tentacles/src/python/tentacles/blueprints/printer_ui.py @@ -3,8 +3,6 @@ """Blueprints for HTML serving 'ui'.""" import logging -from datetime import timedelta -from importlib.resources import files from click import group diff --git a/projects/tentacles/src/python/tentacles/blueprints/user_ui.py b/projects/tentacles/src/python/tentacles/blueprints/user_ui.py index 25893cd..1a3c57d 100644 --- a/projects/tentacles/src/python/tentacles/blueprints/user_ui.py +++ b/projects/tentacles/src/python/tentacles/blueprints/user_ui.py @@ -2,10 +2,8 @@ """Blueprints for HTML serving 'ui'.""" -import datetime import logging -from datetime import timedelta, datetime -from importlib.resources import files +from datetime import timedelta import re from tentacles.globals import ctx diff --git a/projects/tentacles/src/python/tentacles/blueprints/util.py b/projects/tentacles/src/python/tentacles/blueprints/util.py index 6ae565a..84ee7aa 100644 --- a/projects/tentacles/src/python/tentacles/blueprints/util.py +++ b/projects/tentacles/src/python/tentacles/blueprints/util.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 import logging -from datetime import timedelta -from importlib.resources import files from click import group diff --git a/projects/tentacles/src/python/tentacles/globals.py b/projects/tentacles/src/python/tentacles/globals.py index 6338bac..896818a 100644 --- a/projects/tentacles/src/python/tentacles/globals.py +++ b/projects/tentacles/src/python/tentacles/globals.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 from contextvars import ContextVar -from typing import Optional from attrs import define from tentacles.store import Store