Replaces #8403 by adding lint fixes based on the upgraded version
Lint fixes & pre-commit autoupdate. Replaces #8403 by adding lint fixes based on the upgraded version
.. include:: ../Changelog.rst

.. include:: ../Changelog.rst
