mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 22:43:02 +02:00
- Added module docstrings to 19 Python files - Added class docstrings to 5 classes (ScreenLocker, PokerModifierApp, etc.) - Added method docstrings to 22 methods - Added function docstrings to 25 functions - Added __init__ docstrings to 5 classes - Removed D100-D107 from ruff ignore list (docstrings now enforced) - Removed deprecated ANN101, ANN102, UP038 rules from ignore list - Fixed UP038: use union types in isinstance() calls - All ruff checks now pass with full docstring enforcement |
||
|---|---|---|
| .. | ||
| data | ||
| tools | ||
| .clang-format | ||
| .gitignore | ||
| cppcheck.txt | ||
| index.html | ||
| Makefile | ||
| README.md | ||
| run_tests.sh | ||
| run.sh | ||
| server_c.c | ||
| sw.js | ||
| test_server_api.py | ||
| test_site_size.py | ||
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.