fixing DQ issues

This commit is contained in:
2025-09-19 16:54:13 +02:00
parent 0ce708cf09
commit f042616fdd
45 changed files with 3625 additions and 68 deletions

View File

@@ -1,15 +1,14 @@
# scripts/setup_dev.py
# !/usr/bin/env python3
"""Development environment setup script"""
"""Development environment setup script."""
import os
import subprocess
import sys
from pathlib import Path
def run_command(command, description):
"""Run a shell command and handle errors"""
"""Run a shell command and handle errors."""
print(f"Running: {description}")
try:
subprocess.run(command, shell=True, check=True)
@@ -21,7 +20,7 @@ def run_command(command, description):
def setup_alembic():
"""Set up Alembic for database migrations"""
"""Set up Alembic for database migrations."""
alembic_dir = Path("alembic")
# Check if alembic directory exists and has necessary files
@@ -103,7 +102,7 @@ else:
def setup_environment():
"""Set up the development environment"""
"""Set up the development environment."""
print("🚀 Setting up ecommerce API development environment...")
# Check Python version