feat: progress bar improvements (#2962)

* feat: align progress bar vertically

* feat: use fixed width for status text, remove ordinals

* refactor: align progress to actions
This commit is contained in:
Manuel Schmid
2024-05-19 20:43:11 +02:00
committed by GitHub
parent e94b97604f
commit c995511705
4 changed files with 26 additions and 22 deletions
-4
View File
@@ -372,10 +372,6 @@ def get_file_from_folder_list(name, folders):
return os.path.abspath(os.path.realpath(os.path.join(folders[0], name)))
def ordinal_suffix(number: int) -> str:
return 'th' if 10 <= number % 100 <= 20 else {1: 'st', 2: 'nd', 3: 'rd'}.get(number % 10, 'th')
def makedirs_with_log(path):
try:
os.makedirs(path, exist_ok=True)