Use directory validator function instead of model
repod/config/settings.py:
Add the top-level validator function validate_directory()
instead of
relying on a Directory model and a pydantic validator. This way it is
possible to set a default for ManagementRepo.directory.
Remove unneeded Directory model.
tests/config/test_settings.py:
Adapt tests for Directory.validate_directory()
for
validate_directory()
.
Fixes #69 (closed)