Skip to content

Commit 856fbae

Browse files
committed
fix spelling with codespell
1 parent 803437b commit 856fbae

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

.codespellrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
skip = .git,env,*build,lib
3+
builtin = clear,rare

.github/workflows/codespell.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: codespell
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
# Check for common misspellings
15+
codespell:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: codespell-project/actions-codespell@master

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Information for anyone who would like to contribute to this repository.
3939
├── CONTRIBUTING.md
4040
├── LICENSE
4141
├── .pre-commit-config.yaml # config for pre-commit
42-
├── .readthedocs.yml # config fot serve the doc on read the docs
42+
├── .readthedocs.yml # config for serve the doc on read the docs
4343
├── Makefile
4444
├── miss_hit.cfg # config file for miss_hit linter
4545
├── README.md
@@ -74,7 +74,7 @@ The [`miss_hit` python package](https://misshit.org/) is used to help ensure a
7474
consistent coding style for some of the MATLAB code.
7575

7676
`miss_hit` can check code style, do a certain amount of automatic code
77-
reformating and prevent the code complexity from getting out of hand by running
77+
reformatting and prevent the code complexity from getting out of hand by running
7878
static code analysis (Static analysis can is a way to measure and track software
7979
quality metrics without additional code like tests).
8080

0 commit comments

Comments
 (0)