Skip to content

Commit 229fbf6

Browse files
Merge pull request #80 from yarikoptic/enh-codespell
codespell: move configuration into pyproject.toml, add workflow annotation action
2 parents 64c17f1 + 57dc569 commit 229fbf6

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/codespell.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Codespell configuration is within pyproject.toml
12
---
23
name: Codespell
34

@@ -18,7 +19,7 @@ jobs:
1819
steps:
1920
- name: Checkout
2021
uses: actions/checkout@v4
22+
- name: Annotate locations with typos
23+
uses: codespell-project/codespell-problem-matcher@v1
2124
- name: Codespell
2225
uses: codespell-project/actions-codespell@v2
23-
with:
24-
skip: light_openMINDS-bids2openminds-logo.svg, dark_openMINDS-bids2openminds-logo.svg

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,10 @@ line-length = 119
4747

4848
[tool.setuptools]
4949
packages = ["bids2openminds"]
50+
51+
[tool.codespell]
52+
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
53+
skip = '.git*,*.svg'
54+
check-hidden = true
55+
# ignore-regex = ''
56+
# ignore-words-list = ''

0 commit comments

Comments
 (0)