Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions src/schemas/json/partial-mypy.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,11 @@
"default": 0,
"type": "integer"
},
"num_workers": {
"description": "Use the specified number of worker processes to type check in parallel. This is an experimental feature added in mypy 2.0, equivalent to the --num-workers (-n) command line flag. A value of 0 disables parallel checking.",
"default": 0,
"type": "integer"
},
"show_error_codes": {
"type": "boolean",
"default": true,
Expand Down
1 change: 1 addition & 0 deletions src/test/pyproject/mypy-01.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
python_version = "2.7"
warn_return_any = true
warn_unused_configs = true
num_workers = 4
exclude = [
'^file1\.py$', # TOML literal string (single-quotes, no escaping necessary)
"^file2\\.py$", # TOML basic string (double-quotes, backslash and other characters need escaping)
Expand Down
Loading