feat: V2 premium enhancements & global format

This commit is contained in:
Nubenetes Bot
2026-06-18 01:47:42 +02:00
parent 287a2c3b03
commit 16ddf968f8
497 changed files with 446746 additions and 401069 deletions

24
scripts/format_all.py Normal file
View File

@@ -0,0 +1,24 @@
import os
import sys
# Add the project root to python path to resolve imports correctly
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
from src.pr_guardian import auto_format_file
def format_all_files():
print("[*] Starting global formatting pass on all markdown files...")
count = 0
for folder in ["docs", "v2-docs"]:
if not os.path.exists(folder):
continue
for root, dirs, files in os.walk(folder):
for file in files:
if file.endswith(".md"):
filepath = os.path.join(root, file)
auto_format_file(filepath)
count += 1
print(f"[+] Formatting complete. Processed {count} Markdown files.")
if __name__ == "__main__":
format_all_files()