Skip to content

Commit 54f4cb1

Browse files
authored
chore: Add typos spell check (#563)
### Description - Add typos spell check - Fix spelling errors ### Issues - Closes: apify/crawlee-python#626 ### Testing - N/A ### Checklist - [x] CI passed
1 parent 8331245 commit 54f4cb1

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/_check_code.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ jobs:
1717
- name: Run actionlint
1818
uses: rhysd/actionlint@v1.7.9
1919

20+
spell_check:
21+
name: Spell check
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v6
26+
- name: Check spelling with typos
27+
uses: crate-ci/typos@v1.40.0
28+
2029
lint_check:
2130
name: Lint check
2231
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main

typos.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Configuration for typos spell checker
2+
# https://github.com/crate-ci/typos
3+
4+
[default]
5+
extend-ignore-re = [
6+
"https?://[^\\s]+", # Ignore URLs
7+
"'gASV[^']+", # Ignore base64-encoded pickle data
8+
]
9+
10+
[files]
11+
# Extend the default exclude list
12+
extend-exclude = [
13+
"*.lock",
14+
"*.min.js",
15+
"*.min.css",
16+
"CHANGELOG.md",
17+
]

0 commit comments

Comments
 (0)