Explorar o código

fix: remove tqdm dependency

JustSong %!s(int64=2) %!d(string=hai) anos
pai
achega
f55647278c
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      i18n/translate.py

+ 1 - 4
i18n/translate.py

@@ -2,9 +2,6 @@ import argparse
 import json
 import json
 import os
 import os
 
 
-from tqdm import tqdm
-
-
 def list_file_paths(path):
 def list_file_paths(path):
     file_paths = []
     file_paths = []
     for root, dirs, files in os.walk(path):
     for root, dirs, files in os.walk(path):
@@ -38,7 +35,7 @@ def replace_keys_in_repository(repo_path, json_file_path):
 
 
     files = list_file_paths(repo_path)
     files = list_file_paths(repo_path)
     print('Total files: {}'.format(len(files)))
     print('Total files: {}'.format(len(files)))
-    for file_path in tqdm(files, total=len(files)):
+    for file_path in files:
         replace_keys_in_file(file_path, pairs)
         replace_keys_in_file(file_path, pairs)