Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions create-codespell-ignored-words-list.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./main/writerfilter/qa/documents/multimerge2.docx

seems to be broken/empty...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I just checked that file now it does not open.

But in general there is a decent size list of warning or info messages when running codespell from the command line. This does not seem to occur when running codespell via pre-commit.

The message I get with LibreOffice is the file is corrupt:

Screenshot from 2025-02-17 02-50-53

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

# Seems to print out warning messages to the console before finishing successfully
# Example
# WARNING: Cannot decode file using encoding "utf-8": ./main/writerfilter/qa/documents/multimerge2.docx
# WARNING: Trying next encoding "iso-8859-1"

codespell --skip='./extras' . | cut -f2 -d' ' | tr A-Z a-z | sort | uniq > .github/linters/codespell.txt