diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000000..d6aa28a899 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: CC0-1.0 + +[codespell] +# We have to exclude all file types that have translations in them and third-party files +skip = *.po,po/*,*.svg,*.pgm,*.notifyrc,*.knsrc,data/org.kde.kdenlive.xml,data/org.kde.kdenlive.appdata.xml,src/lib/external/kiss_fft/*,fuzzer/fakeit_standalone.hpp,tests/fakeit.hpp,tests/catch.hpp +count = +quiet-level = 3 +ignore-words-list = aBitrate,abl,aCount,aFile,aLine,alls,buildin,filterIn,indx,inOut,nIn,originalY,partH,Shotcut,splitted,wHeight,lightening diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 809347b592..2f395d0020 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ include: # Linting - /gitlab-templates/reuse-lint.yml - /gitlab-templates/xml-lint.yml + - /gitlab-templates/pre-commit.yml # CI Qt6 - /gitlab-templates/linux-qt6.yml - /gitlab-templates/linux-qt6-next.yml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000..d0b38497b3 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: CC0-1.0 + +repos: +- repo: https://github.com/codespell-project/codespell + rev: v2.4.1 + hooks: + - id: codespell