From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 11 Aug 2025 20:55:36 +0000 (-0700) Subject: chore: Removes duplication and spread out config for codespell (#10560) X-Git-Tag: v2.18.0~1^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1a84c65ed8f7b29e3b637dc64510a90ec7fe344;p=thirdparty%2Fpaperless-ngx.git chore: Removes duplication and spread out config for codespell (#10560) --- diff --git a/.codespellrc b/.codespellrc deleted file mode 100644 index 9b2cf624d..000000000 --- a/.codespellrc +++ /dev/null @@ -1,3 +0,0 @@ -[codespell] -write-changes = True -ignore-words-list = criterias,afterall,valeu,ureue,equest,ure,assertIn diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c50e81a6..ab94a22b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,6 @@ repos: rev: v2.4.1 hooks: - id: codespell - exclude: "(^src-ui/src/locale/)|(^src-ui/pnpm-lock.yaml)|(^src-ui/e2e/)|(^src/paperless_mail/tests/samples/)|(^src/documents/tests/samples/)" exclude_types: - pofile - json diff --git a/pyproject.toml b/pyproject.toml index ca77b74c5..3f3846cf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -221,6 +221,11 @@ lint.per-file-ignores."src/paperless_tesseract/tests/test_parser.py" = [ ] lint.isort.force-single-line = true +[tool.codespell] +write-changes = true +ignore-words-list = "criterias,afterall,valeu,ureue,equest,ure,assertIn" +skip = "src-ui/src/locale/*,src-ui/pnpm-lock.yaml,src-ui/e2e/*,src/paperless_mail/tests/samples/*,src/documents/tests/samples/*,*.po,*.json" + [tool.pytest.ini_options] minversion = "8.0" pythonpath = [