Skip to content

Commit 12243c9

Browse files
committed
Add spell-check fix for windows
1 parent df05709 commit 12243c9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

scripts/spell-check-fix.cmd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@ECHO OFF
2+
3+
pip --version || pip3 --version
4+
IF %ERRORLEVEL% NEQ 0 (
5+
cls
6+
ECHO Please install Python from https://www.python.org/downloads/ and Pip following https://pip.pypa.io/en/stable/installation/
7+
EXIT /B
8+
)
9+
10+
cls
11+
codespell --version
12+
IF %ERRORLEVEL% NEQ 0 (
13+
ECHO Installing codespell
14+
pip install codespell || pip3 install codespell
15+
) else (
16+
ECHO Codespell already installed
17+
)
18+
cls
19+
codespell -w -I scripts/resources/spell-check-ignore-list.txt --skip="*.svg,*.dxf,*.pdf" content

0 commit comments

Comments
 (0)