[pre-commit] Add initial pre-commit config

This change adds configuration for the pre-commit tool,
follow-up changes will address the remaining issues in a phased
approach to make the reviews simpler.

This is based on the pre-commit config used in nova
with some additional hooks.

Follow-up changes will address the FIXME comments
related to sphinx-lint and codespell, as well as update tox
to enforce these checks in ci.

Change-Id: I87681a19f7fa88366c2b0d310c8b3153aa6a137b
This commit is contained in:
Sean Mooney
2024-10-22 18:19:56 +01:00
parent 0f96f99404
commit 9d8b990fd1
23 changed files with 132 additions and 58 deletions

0
doc/dictionary.txt Normal file
View File