From 95f764399c653ff761318b2dbfd82f7aff3731f0 Mon Sep 17 00:00:00 2001 From: Xavier Chapron Date: Mon, 31 Jul 2023 10:39:27 +0200 Subject: [PATCH] CI: Fix codespell --- .codespellrc | 2 +- .pre-commit-config.yaml | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.codespellrc b/.codespellrc index f25051d3e..d13f24539 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,2 +1,2 @@ [codespell] -ignore-words-list=ontop,clen +ignore-words-list=ontop,clen,habitant diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9117bdff6..4d0ea41e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,13 @@ # pre-commit install --hook-type pre-commit # pre-commit install --hook-type commit-msg -exclude: ^(lib_blewbxx/|lib_stusb/) +exclude: | + (?x)^( + lib_blewbxx/.*| + lib_stusb/.*| + lib_nbgl/include/.*.json| + lib_bagl/include/.*.json| + )$ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 @@ -13,6 +19,6 @@ repos: - id: check-added-large-files - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.2.5 hooks: - id: codespell