Documentation: Tried to remove random colouring of words in the code … #540
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Spelling | |
| on: | |
| push: | |
| branches: | |
| - main | |
| release: | |
| types: [published] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| spell: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip setuptools | |
| python3 -m pip install -r requirements.txt | |
| - name: Install Aspell | |
| run: | | |
| sudo apt-get install aspell aspell-en | |
| - name: Install Hunspell | |
| run: | | |
| sudo apt-get install hunspell hunspell-en-gb | |
| - name: codespell | |
| run: | | |
| codespell docs | |
| - name: pyspelling | |
| run: | | |
| pyspelling || true |