Skip to content

fix error in macOS #2671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix error in macOS
  • Loading branch information
sofide committed Oct 15, 2023
commit 28a2c9f004ff412e3d438cee13127d61dcf2f9b9
5 changes: 5 additions & 0 deletions scripts/check_spell.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

import pospell

# fix multiprocessing error loop on MacOS
if sys.platform == "darwin":
import multiprocessing
multiprocessing.set_start_method("fork")

# Read custom dictionaries
entries = set()
for filename in Path("dictionaries").glob("*.txt"):
Expand Down