
- Add complete CRUD operations for task management - Implement task filtering by status, priority, and search - Add task statistics endpoint for summary data - Configure SQLite database with Alembic migrations - Set up FastAPI with CORS support and API documentation - Include health check endpoint and base URL information - Add comprehensive README with API usage examples - Structure project with proper separation of concerns
12 lines
380 B
Python
12 lines
380 B
Python
import subprocess
|
|
import sys
|
|
|
|
try:
|
|
result = subprocess.run([sys.executable, "-m", "ruff", "check", ".", "--fix"],
|
|
capture_output=True, text=True)
|
|
print("STDOUT:", result.stdout)
|
|
if result.stderr:
|
|
print("STDERR:", result.stderr)
|
|
print("Return code:", result.returncode)
|
|
except Exception as e:
|
|
print(f"Error running ruff: {e}") |