Skip to content

Commit e9f5858

Browse files
authored
Run lint in parallel in runtest.py (#14448)
Give flake8 3 parallel processes. Previously it was sequential. Assuming that most developers have a machine with at least 4 cores, we have at least one left for self check, which is run in parallel with lint.
1 parent f37a0ae commit e9f5858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# Self type check
5151
"self": [executable, "-m", "mypy", "--config-file", "mypy_self_check.ini", "-p", "mypy"],
5252
# Lint
53-
"lint": ["flake8", "-j0"],
53+
"lint": ["flake8", "-j3"],
5454
"format-black": ["black", "."],
5555
"format-isort": ["isort", "."],
5656
# Fast test cases only (this is the bulk of the test suite)

0 commit comments

Comments
 (0)