From 5a2c6af4682529e087ffa8c858de7bfe764377b2 Mon Sep 17 00:00:00 2001 From: JaiDhyani Date: Fri, 23 Feb 2024 04:42:27 -0800 Subject: [PATCH] formatting fixes --- .vscode/settings.json | 3 ++- scripts/map_tokens.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b5f4dfd1..8f9d001f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,7 +8,8 @@ }, "python.analysis.typeCheckingMode": "basic", "isort.args": [ - "--profile black" + "--profile", + "black" ], "black-formatter.importStrategy": "fromEnvironment", } \ No newline at end of file diff --git a/scripts/map_tokens.py b/scripts/map_tokens.py index 9189a6d5..1b098cac 100755 --- a/scripts/map_tokens.py +++ b/scripts/map_tokens.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 import argparse -import pickle import os +import pickle from delphi.eval.token_map import token_map from delphi.eval.utils import load_validation_dataset