Skip to content

Commit 0dbf21d

Browse files
sidmohan0claude
andcommitted
fix(imports): resolve flake8 E402 import order issues
Move core API imports to top of file to comply with PEP8 import ordering. Auto-formatted with isort and black per pre-commit configuration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1152889 commit 0dbf21d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

datafog/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
from .__about__ import __version__
1212

13+
# Import core API functions
14+
from .core import anonymize_text, detect_pii, get_supported_entities, scan_text
15+
1316
# Core imports - always available
1417
from .models.annotator import AnnotationResult, AnnotatorRequest
1518
from .models.anonymizer import (
@@ -77,9 +80,6 @@ def _missing_dependency(*args, **kwargs):
7780
"SparkService", "datafog.services.spark_service", "distributed"
7881
)
7982

80-
# Import core API functions
81-
from .core import anonymize_text, detect_pii, get_supported_entities, scan_text
82-
8383

8484
# Simple API for core functionality (backward compatibility)
8585
def detect(text: str) -> list:

0 commit comments

Comments
 (0)