Skip to content

Commit 27ba6e1

Browse files
committed
backend: clean up scripts
1 parent ca0c66b commit 27ba6e1

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

backend/scripts/manage_tokens.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
import sys
1010
import os
1111
import secrets
12-
import hashlib
1312
import argparse
1413
import json
15-
from datetime import datetime, timedelta, UTC
16-
from typing import List, Dict, Any, Optional
14+
from datetime import datetime, timedelta
1715

1816
# Add the parent directory to the path so we can import from app
1917
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
@@ -72,7 +70,7 @@ async def create_token(name: str, description: str = None) -> str:
7270
# Create the token in the database
7371
auth_token = await crud.create_auth_token(db, token, name, description)
7472

75-
print(f"✅ Successfully created authentication token!")
73+
print("✅ Successfully created authentication token!")
7674
print(f" ID: {auth_token.id}")
7775
print(f" Name: {auth_token.name}")
7876
print(f" Description: {auth_token.description or 'None'}")

backend/scripts/populate_binaries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async def populate_binaries(force: bool = False, database_url: str = None):
189189
print(f" Description: {binary_data['description']}")
190190
created_count += 1
191191

192-
print(f"\n🎉 Binary population completed!")
192+
print("\n🎉 Binary population completed!")
193193
print(f" - Created: {created_count} binaries")
194194
print(f" - Updated: {updated_count} binaries")
195195
print(f" - Skipped: {skipped_count} binaries")

0 commit comments

Comments
 (0)