BLD: validate_docstrings.py add ignore_known_fail argument
- [ ] closes #25120 

a solution for the problem of inherited docstrings not passing docstring tests preventing errors to be added to the CI `code_checks.sh`
