diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000000..44b6906ff1 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,4 @@ +[codespell] +skip = build,*.yuv +ignore-words-list = ser,dout,rsource +write-changes = true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 55308fbfc9..e9f8b82306 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,6 +51,10 @@ repos: (?x)^( .*_pb2.py )$ + - repo: https://github.com/codespell-project/codespell + rev: v2.2.6 + hooks: + - id: codespell - repo: local hooks: - id: check-executables