Skip to content

Commit

Permalink
Gh workflow for spelling errors (#265)
Browse files Browse the repository at this point in the history
* Gh workflow for spelling errors

* add files to check
  • Loading branch information
rasbt authored Jul 16, 2024
1 parent 48bd72c commit 45d0318
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 17 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check-spelling-errors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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}
17 changes: 0 additions & 17 deletions .pre-commit-config.yaml

This file was deleted.

0 comments on commit 45d0318

Please sign in to comment.