From acc4698059c5d2eca335a8ffabd91d928d3f7830 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 19:36:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.py | 1 + src/pytong/__init__.py | 1 + src/pytong/base.py | 1 + src/pytong/log.py | 1 + tests/test_log.py | 1 + 5 files changed, 5 insertions(+) diff --git a/setup.py b/setup.py index dfc7cff..3dfcefe 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Setup for Pytong.""" + import setuptools # type: ignore with open("README.md", "r", encoding="utf-8") as fh: diff --git a/src/pytong/__init__.py b/src/pytong/__init__.py index 31aa698..01fb7fe 100644 --- a/src/pytong/__init__.py +++ b/src/pytong/__init__.py @@ -1,4 +1,5 @@ """Initialize and bring in modules.""" + from .log import Log # noqa from .base import BaseLog # noqa from .config import log_config # noqa diff --git a/src/pytong/base.py b/src/pytong/base.py index 5d06e71..51c4787 100644 --- a/src/pytong/base.py +++ b/src/pytong/base.py @@ -2,6 +2,7 @@ Base mainly includes the description fields """ + import logging from typing import Optional diff --git a/src/pytong/log.py b/src/pytong/log.py index c9e81a1..bee4c12 100644 --- a/src/pytong/log.py +++ b/src/pytong/log.py @@ -2,6 +2,7 @@ Logging with a tree of loggers """ + import logging from pathlib import Path from typing import Optional diff --git a/tests/test_log.py b/tests/test_log.py index d03991b..704787b 100644 --- a/tests/test_log.py +++ b/tests/test_log.py @@ -3,6 +3,7 @@ Assumes that you are pip installing, so for development run pip install -e """ + import sys print(f"{__name__=} {sys.path=}")