Skip to content

Commit 0bec5e6

Browse files
authored
Merge pull request #57 from yarikoptic/enh-codespell
codespell: config, workflow + 1 typo fixed
2 parents 4bd0e5c + 95649b6 commit 0bec5e6

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.codespellrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[codespell]
2+
skip = .git,*.pdf,*.svg
3+
#
4+
# ignore-words-list =

.github/workflows/codespell.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Codespell
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
codespell:
15+
name: Check for spelling errors
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
- name: Codespell
22+
uses: codespell-project/actions-codespell@v2

doc/source/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ sequence as the value of an element like this:
189189
handle error;
190190
}
191191
192-
If this function succeeeds, ownership of the sequence object passes to the
192+
If this function succeeds, ownership of the sequence object passes to the
193193
element, i.e., when the element is destroyed, the sequence will also be
194194
destroyed.
195195

0 commit comments

Comments
 (0)