DOC: Fixes to docstrings and add PR10 (space before colon) to validation
- Closes #25104
- added type set_option docstring in config.py
-added type to boxplot_frame_groupby docstring in plotting/_core.py
-indented versionadded in ExcelWriter docstring io/excel.py
-updated code_check.sh to take into account PR10 type errors