Skip to content

Commit 8d9d1f5

Browse files
committed
chore: Add typos spell check and fix spelling errors
1 parent cef7737 commit 8d9d1f5

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
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

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ make unit-tests-cov
7777
Publishing new versions to [PyPI](https://pypi.org/project/apify) is automated through GitHub Actions.
7878

7979
- **Beta releases**: On each commit to the master branch, a new beta release is automatically published. The version number is determined based on the latest release and conventional commits. The beta version suffix is incremented by 1 from the last beta release on PyPI.
80-
- **Stable releases**: A stable version release may be created by triggering the `release` GitHub Actions workflow. The version number is determined based on the latest release and conventional commits (`auto` release type), or it may be overriden using the `custom` release type.
80+
- **Stable releases**: A stable version release may be created by triggering the `release` GitHub Actions workflow. The version number is determined based on the latest release and conventional commits (`auto` release type), or it may be overridden using the `custom` release type.
8181

8282
### Publishing to PyPI manually
8383

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)