From cb07dd6bb29fe77e7921ec9b58ac255e1280ac6d Mon Sep 17 00:00:00 2001 From: Mathew Guest Date: Fri, 2 Aug 2024 05:10:18 -0600 Subject: [PATCH] build: removed unused imports refactor cleanup --- app_skellington/__init__.py | 3 --- app_skellington/_util.py | 2 -- app_skellington/app_container.py | 3 --- app_skellington/cfg.py | 5 ----- app_skellington/cli.py | 3 --- app_skellington/log.py | 1 - 6 files changed, 17 deletions(-) diff --git a/app_skellington/__init__.py b/app_skellington/__init__.py index 8c1461f..fd63f63 100644 --- a/app_skellington/__init__.py +++ b/app_skellington/__init__.py @@ -1,6 +1,3 @@ -import logging -import sys - from .app_container import * from .cfg import * from .cli import * diff --git a/app_skellington/_util.py b/app_skellington/_util.py index 433b9da..e7b193b 100644 --- a/app_skellington/_util.py +++ b/app_skellington/_util.py @@ -4,8 +4,6 @@ import inspect import os import sys -from . import _util - def eprint(*args, **kwargs): """ diff --git a/app_skellington/app_container.py b/app_skellington/app_container.py index e20d3d8..8dda1ff 100644 --- a/app_skellington/app_container.py +++ b/app_skellington/app_container.py @@ -1,9 +1,6 @@ -import collections import functools import inspect -import logging import os -import sys import appdirs diff --git a/app_skellington/cfg.py b/app_skellington/cfg.py index ac9baf7..1f97d95 100644 --- a/app_skellington/cfg.py +++ b/app_skellington/cfg.py @@ -4,15 +4,10 @@ # ConfigObj module and it's recommended to use config.spec files to define # your available configuration of the relevant application. -import argparse -import os -import sys -import appdirs import configobj import validate -from . import _util from ._bootstrap import _bootstrap_logger diff --git a/app_skellington/cli.py b/app_skellington/cli.py index b6b8680..6baf221 100644 --- a/app_skellington/cli.py +++ b/app_skellington/cli.py @@ -1,11 +1,8 @@ import argparse import inspect -import logging import re import sys -import app_skellington - from . import app_container from ._bootstrap import _bootstrap_logger diff --git a/app_skellington/log.py b/app_skellington/log.py index a134285..7b19095 100644 --- a/app_skellington/log.py +++ b/app_skellington/log.py @@ -3,7 +3,6 @@ import logging.config import os import appdirs -import colorlog from . import _util from ._bootstrap import _bootstrap_logger, _logger_name