release: v0.2.0 repository hygiene, CI, and docs sync

Stop tracking personal workflow artifacts at repo root, add CI and MIT
license, align README and agent skills with artifacts/ defaults, and
enable Ruff in dev/CI so releases are verifiable without local-only runs.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
windyboy
2026-06-01 15:32:03 +08:00
co-authored by Claude Sonnet 4.5 Cursor
parent e70bd35498
commit 6f0df5a774
101 changed files with 1451 additions and 653105 deletions
+8 -11
View File
@@ -1,15 +1,14 @@
"""Unit tests for the inventory scanner module."""
import os
import threading
import tempfile
import time
import csv
import json
import os
import subprocess
import threading
import time
from datetime import datetime, timezone
from pathlib import Path
from unittest.mock import patch, MagicMock
import subprocess
import json
from unittest.mock import MagicMock, patch
import pytest
@@ -17,10 +16,10 @@ from vlm.config import Config
from vlm.models import VideoFile
from vlm.scanner import (
categorize_file,
scan_library,
extract_metadata,
save_inventory_csv,
load_inventory_csv,
save_inventory_csv,
scan_library,
)
@@ -932,7 +931,6 @@ class TestInventoryReports:
assert output_file.exists()
# Read and verify content
import csv
with open(output_file, 'r', encoding='utf-8') as f:
# Skip comment lines
lines = [line for line in f if not line.startswith('#')]
@@ -1179,7 +1177,6 @@ class TestInventoryReports:
save_inventory_json(video_files, json_file, library_root)
# Read CSV data
import csv
with open(csv_file, 'r', encoding='utf-8') as f:
lines = [line for line in f if not line.startswith('#')]
reader = csv.DictReader(lines)