Skip to content

Commit 3e282e3

Browse files
committed
Apply Black formatting to utils and test files
1 parent de66e4c commit 3e282e3

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

ai_core/utils/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@
55
__version__ = "3.0.1"
66
__author__ = "MechMind Team <dev@mechmind.example>"
77

8+
89
# Importaciones diferidas para evitar circular imports
910
def configure_logging():
1011
from .logging_config import configure_logging as _configure
12+
1113
return _configure()
1214

15+
1316
def make_http_request(*args, **kwargs):
1417
from .network_helpers import make_http_request as _make_request
18+
1519
return _make_request(*args, **kwargs)
1620

17-
__all__ = ['__version__', '__author__', 'configure_logging', 'make_http_request']
21+
22+
__all__ = ["__version__", "__author__", "configure_logging", "make_http_request"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
import pytest
22
from ai_core.utils import __version__, __author__
33

4+
45
def test_version():
56
assert __version__ == "3.0.1"
67

8+
79
def test_author():
810
assert "MechMind Team" in __author__
911
assert "dev@mechmind.example" in __author__
1012

13+
1114
def test_imports():
1215
from ai_core.utils import configure_logging, make_http_request
16+
1317
assert callable(configure_logging)
1418
assert callable(make_http_request)

0 commit comments

Comments
 (0)