mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 21:03:15 +02:00
- Add comprehensive tests for all packages (3572 tests, 100% branch coverage) - Split oversized test files to stay under 500-line limit - Add per-file ruff ignores for test-appropriate suppressions - Fix _cache_decks.py to properly convert JSON lists to tuples - Add session-scoped conftest fixture for logging handler cleanup (Python 3.14) - Update ruff pre-commit hook to v0.15.2 - Add codespell ignore words for test data - Add generated output files to .gitignore |
||
|---|---|---|
| .. | ||
| data | ||
| tests | ||
| tools | ||
| __init__.py | ||
| .clang-format | ||
| .gitignore | ||
| cppcheck.txt | ||
| index.html | ||
| Makefile | ||
| README.md | ||
| run_tests.sh | ||
| run.sh | ||
| server_c.c | ||
| sw.js | ||
Mini Articles (<=14KB)
- Single-file site:
index.htmlwith inline CSS & JS - Features:
- List of articles with thumbnails (cards)
- Read view: thumbnail, title, body (supports inline images/videos)
- Create view: title, thumbnail picker/drag-drop, rich body via contenteditable
- Drag/drop or choose images/videos anywhere in the body
- Local persistence via localStorage (no server required)
How to open
- Open
site/index.htmlin a browser.
Tests
pytestincludes a test to enforce the 14KB budget forindex.html.