Improve slugify function, add tests, and enhance Makefile

Applied improvements from feature-code-quality branch:
- Refactored slugify() for better readability with inline comments
- Renamed log() parameter *args to *log_args (avoid shadowing built-in)
- Added comprehensive unit tests for slugify function
- Enhanced Makefile with typecheck and test targets
- Updated build target to run type checks and tests before Docker build

All tests pass and type checking succeeds.
This commit is contained in:
Yax 2026-01-07 14:10:32 +01:00
parent 13d3d653de
commit 3297ce5e67
4 changed files with 38 additions and 14 deletions

1
test/__init__.py Normal file
View file

@ -0,0 +1 @@
# Test package