tests: Fix pre-commit CI job and code formatting
This was hidden in CI due to the error 1
$ pre-commit run --all-files --show-diff-on-failure || true
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/sirosen/texthooks.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-clang-format.
An error has occurred: InvalidManifestError:
==> File /builds/tango-controls/cppTango/.cache/pre-commit/repos3ts9zp8/.pre-commit-hooks.yaml
==> At Hook(id='clang-format')
==> At key: types_or
==> At index 9
=====> Type tag 'textproto' is not recognized. Try upgrading identify and pre-commit?
and this is fixed by upgrading the pre-commit docker image.
Edited by Thomas Braun