[codespell] fix final typos and enable ci

This chnage adds the pre-commit config and
tox targets to run codespell both indepenetly
and via the pep8 target.

This change correct all the final typos in the
codebase as detected by codespell.

Change-Id: Ic4fb5b3a5559bc3c43aca0a39edc0885da58eaa2
This commit is contained in:
Sean Mooney
2023-10-03 11:56:09 +01:00
parent 45e2349408
commit f4852f4c81
51 changed files with 106 additions and 90 deletions
+5
View File
@@ -34,3 +34,8 @@ repos:
hooks:
- id: autopep8
files: '^.*\.py$'
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
args: ['--ignore-words=doc/dictionary.txt']