Skip to content

Commit 2c66e91

Browse files
committed
style(readme): two-space trailing comments in the parallel snippet
Newer ruff releases format Python code blocks inside Markdown and reject the column-aligned comments the CI formatter gate runs against.
1 parent 2b85370 commit 2c66e91

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ hand. One call does all three, on threads, processes, or asyncio:
246246
```python
247247
import progressbar
248248

249-
results = progressbar.map(fetch, urls, workers=8) # threads
250-
results = progressbar.map(crunch, files, pool='process') # processes
251-
results = await progressbar.amap(fetch, urls) # asyncio
249+
results = progressbar.map(fetch, urls, workers=8) # threads
250+
results = progressbar.map(crunch, files, pool='process') # processes
251+
results = await progressbar.amap(fetch, urls) # asyncio
252252

253253
# A progress-bar'd xargs -P:
254254
progressbar.run('gzip -k {}', files, workers=4)

0 commit comments

Comments
 (0)