Skip to content

Commit

Permalink
Unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
ghyadav committed Jan 16, 2025
1 parent 21a7a1c commit 1ea47c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
import shutil
import sys

from eval_common import ua_patcher # pylint: disable=unused-import
from eval_common import ua_patcher # noqa: F401 # Module imported but unused
from azure.ai.ml.identity import AzureMLOnBehalfOfCredential
from azure.ai.evaluation import evaluate
from save_evaluation import load_evaluator

logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)


def update_value_in_dict(d, key_substring, new_func):
"""Recursively search for a value containing 'key_substring' and apply 'new_func' to modify it."""
for key, value in d.items():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""Main script for the online evaluation context."""
import argparse

from eval_common import ua_patcher # pylint: disable=unused-import
from eval_common import ua_patcher # noqa: F401 # Module imported but unused
import preprocess
import evaluate
import postprocess
Expand Down

0 comments on commit 1ea47c2

Please sign in to comment.