Skip to content

Commit 26751c6

Browse files
Fix lint issues (ruff, isort)
1 parent 5e66acd commit 26751c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

python_gpt_po/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ def main():
254254

255255
# 4. Initialize providers (Online Execution Path Starts Here)
256256
# Localize imports to ensure strictly offline estimation phase
257-
from .utils.cli import create_language_mapping
258257
from .models.config import TranslationConfig, TranslationFlags
258+
from .utils.cli import create_language_mapping
259259

260260
provider_clients, provider, final_model_id = get_offline_provider_info(args)
261261
provider_clients, provider, model = initialize_provider(args, provider_clients, provider, final_model_id)

python_gpt_po/tests/unit/test_cost_estimator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import unittest
21
import os
32
import shutil
3+
import unittest
4+
45
import polib
6+
57
from python_gpt_po.utils.cost_estimator import CostEstimator
68

79

0 commit comments

Comments
 (0)