11 Commits
Author SHA1 Message Date
HappyOnigiri 728e73bb4f docs(tests): py/ → meld/ のパス参照をコメント・docstringで修正 2026-03-30 10:54:12 +00:00
HappyOnigiri 4d45ea6e25 refactor: rename py/ backend package to meld/ and extract SQL to repository
- Rename py/ directory to meld/ to eliminate PyPI 'py' package shadowing,
  which required conftest.py/path.py workarounds in the test suite
- Remove meld/path.py (pytest stub no longer needed after rename)
- Empty meld/__init__.py (removed redundant 'from . import path as path')
- Replace 87-line conftest.py monkeypatch with minimal Package.setup() shim
- Extract create_schema(cursor) from schema.py as single DDL source of truth,
  called by both init_db() and test helpers
- Add permanent_delete, soft_delete, soft_delete_to_trash, restore_image,
  restore_image_with_rename, and collect_deleted_ancestors to repository.py
  to eliminate duplicated inline SQL across router.py and importer/service.py
- Update all import paths, pyproject.toml, Makefile, CI config, and
  check_scripts to reference meld/ instead of py/
2026-03-30 19:21:28 +09:00
HappyOnigiri 1b27d3ef61 fix: use isinstance for ast.Index detection to avoid premature unwrapping 2026-02-22 03:03:05 +09:00
HappyOnigiri 2cd35cd919 chore: enforce strict type checking in python backend 2026-02-21 22:19:18 +09:00
HappyOnigiri de1681b311 fix(ci): translate comments to English and fix color check in Gallery.css 2026-02-21 14:11:17 +09:00
HappyOnigiri 39a28661a3 style: fix type linting and annotations in dependency_check.py 2026-02-21 13:47:23 +09:00
HappyOnigiri 1e608c50a9 feat: add SqliteCursorTypeChecker to detect uncasted SQLite result usage 2026-02-21 13:47:11 +09:00
HappyOnigiri ba71f6d9b5 feat: add backend endpoints for image download and metadata removal 2026-02-21 10:43:58 +09:00
HappyOnigiri e922d7ac06 feat: add API response structure check to AST checks 2026-01-22 09:56:28 +09:00
HappyOnigiri 813e4e4b03 chore: update ignore rules and api check script 2026-01-18 07:03:32 +09:00
HappyOnigiri 9a8a6a8b37 refactor: unify AST check scripts into a modular structure 2026-01-17 06:43:01 +09:00