STYLE: Remove in-line comments in flake8 configuration
- [x] closes #42141

Hi @MarcoGorelli, how does this look?
Let me know if this needs any changes.
Thanks
Nice, thanks - could you do this for `flake8-rst` section too please? > Nice, thanks - could you do this for `flake8-rst` section too please?

Sure! thanks @RhnSharma 