DOC: whatsnew for GH #18819
- [x] closes #18819
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Just a whatsnew entry warning about the more strict check
Thanks.