diff -r 71cf3979a6c9 -r 964a326c58d4 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Tue Jul 12 16:26:22 2022 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Tue Jul 12 17:31:17 2022 +0200 @@ -223,8 +223,8 @@ # Submit tasks (initially two time number of processes initialTasks = 2 * NumberOfProcesses - for task in argumentsList[:initialTasks]: - taskQueue.put(task) + for _ in range(initialTasks): + taskQueue.put(argumentsList.pop(0)) # Start worker processes workers = [ @@ -258,7 +258,7 @@ break if i < endIndex: - taskQueue.put(argumentsList[i + initialTasks]) + taskQueue.put(argumentsList.pop(0)) # Tell child processes to stop for _ in range(NumberOfProcesses):