Skip to content

Commit 36884e2

Browse files
committed
Bumped PySpelling to 2.10, introducing support for parallel jobs
1 parent fe9c0e0 commit 36884e2

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,40 @@ matrix:
350350

351351
Change the configuration to suit your repository and needs, please see the `examples/` directory for more example configurations.
352352

353+
## Specifying Number of Jobs for Parallel Processing
354+
355+
This action supports parallel processing of the configured tasks, this is done using the `jobs` parameter. Introduced in version 4.10 of **PySpelling**.
356+
357+
The default value is `1`, which means that the action will run in a single job.
358+
359+
```yaml
360+
jobs: 4
361+
```
362+
363+
Full example:
364+
365+
```yaml
366+
jobs: 4
367+
matrix:
368+
- name: Markdown
369+
aspell:
370+
lang: en
371+
dictionary:
372+
wordlists:
373+
- .wordlist.txt
374+
encoding: utf-8
375+
pipeline:
376+
- pyspelling.filters.markdown:
377+
- pyspelling.filters.html:
378+
comments: false
379+
ignores:
380+
- code
381+
- pre
382+
sources:
383+
- '**/*.md'
384+
default_encoding: utf-8
385+
```
386+
353387
## Specifying Language
354388

355389
This action currently only support `aspell`, please see the section on Language Support below.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ html5lib==1.1
55
lxml==4.9.3
66
Markdown==3.4.4
77
pymdown-extensions==10.4
8-
pyspelling==2.9
8+
pyspelling==2.10
99
PyYAML==6.0.1
1010
six==1.16.0
1111
soupsieve==2.5

0 commit comments

Comments
 (0)