Skip to content

Use hunspell

Use hunspell #293

Workflow file for this run

name: CI
on: [pull_request]
jobs:
spelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install pyspelling
# Install any additional libraries required: additional plugins, documentation building libraries, etc.
- name: Install hunspell
run: |
sudo apt-get install hunspell hunspell-en-gb hunspell-fr hunspell-fr-comprehensive hunspell-it
- name: Spell check
run: |
egrep -lRZ '’' . | xargs -0 -l sed -i -e "s/’/\'/g"
python -m pyspelling -c pyspellingconf.yaml