Auto download DPO dataset if not already available in path (#479) #379
This file contains 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: Spell Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install codespell | |
run: | | |
python -m pip install --upgrade pip | |
pip install codespell | |
- name: Run codespell | |
run: | | |
codespell -L "ocassion,occassion,ot,te,tje" **/*.{txt,md,py,ipynb} |