Fix validation error type `SS05` and check in CI 
- [x] closes #25112
- [ ] tests added / passed (`./scripts/validate_docstrings.py --errors=SS05`)
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

