codespell
์์ค ์ฝ๋์ ๋ํ ๋ง์ถค๋ฒ ๊ฒ์ฌ๊ธฐ.
๋ ๋ง์ ์ ๋ณด: https://github.com/codespell-project/codespell.
- ํ์ฌ ๋๋ ํฐ๋ฆฌ์ ์๋ ๋ชจ๋ ํ
์คํธ ํ์ผ์ ์คํ๋ฅผ ์ฌ๊ท์ ์ผ๋ก ํ์ธ:
codespell
- ๋ฐ๊ฒฌ๋ ๋ชจ๋ ์คํ๋ฅผ ์์ :
codespell --write-changes
- ์ง์ ๋ ํจํด๊ณผ ์ผ์นํ๋ ์ด๋ฆ์ ๊ฐ์ง ํ์ผ์ ๊ฑด๋๋ (์์ผ๋์นด๋๋ฅผ ์ฌ์ฉํ์ฌ ์ผํ๋ก ๊ตฌ๋ถ๋ ํจํด ๋ชฉ๋ก ํ์ฉ):
codespell --skip "{{ํจํด}}"
- ํ์ธํ ๋ ์ฌ์ฉ์ ์ ์์ฌ์ ํ์ผ์ ์ฌ์ฉ (
--dictionary
๋ ์ฌ๋ฌ ๋ฒ ์ฌ์ฉ๋ ์ ์์):
codespell --dictionary {{๊ฒฝ๋ก/๋์/ํ์ผ.txt}}
- ์ง์ ๋ ํ์ผ์ ๋์ด๋ ๋จ์ด๋ฅผ ํ์ธํด์๋ ์ ๋จ:
codespell --ignore-words {{๊ฒฝ๋ก/๋์/ํ์ผ.txt}}
- ์ง์ ๋ ๋จ์ด๋ฅผ ํ์ธํ์ง ์์:
codespell --ignore-words-list {{๋ฌด์๋๋_๋จ์ด1,๋ฌด์๋๋_๋จ์ด2,...}}
- ๊ฐ ๋งค์น๋๋ ์ ํ์, 3์ค์ ์ปจํ
์คํธ๋ฅผ ์ถ๋ ฅ:
codespell --{{context|before-context|after-context}} {{3}}
- ํ์ผ ๋ด์ฉ ์ธ์๋, ํ์ผ ์ด๋ฆ์ ์คํ๊ฐ ์๋์ง ํ์ธ:
codespell --check-filenames