From 1a928bc6a4a49bfe296211e6baf1c9f63d6c6c24 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 3 Jan 2025 14:06:43 -0500 Subject: [PATCH] Add rudimentary codespell config --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index de14a9fa1..2aa69204e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -151,3 +151,10 @@ exclude = [ "chroma.sqlite3", ] force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" } + +[tool.codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = '.git*,*.svg,package-lock.json,i18n,*.lock,*.css,*-bundle.js,locales,example-doc.txt,emoji-shortcodes.json' +check-hidden = true +# ignore-regex = '' +ignore-words-list = 'ans'