eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py

changeset 7335
07ed3d73bf58
parent 7256
4ef3b78ebb4e
child 7360
9190402e4505
equal deleted inserted replaced
7334:be378821131e 7335:07ed3d73bf58
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 2
3 # Copyright (c) 2011 - 2019 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2011 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 # pylint: disable=C0103
6 5
7 """ 6 """
8 Module implementing the syntax check for Python 2/3. 7 Module implementing the syntax check for Python 2/3.
9 """ 8 """
10 9
200 taskQueue.put('STOP') 199 taskQueue.put('STOP')
201 200
202 201
203 def worker(inputQueue, outputQueue): 202 def worker(inputQueue, outputQueue):
204 """ 203 """
205 Module function acting as the parallel worker for the style check. 204 Module function acting as the parallel worker for the syntax check.
206 205
207 @param inputQueue input queue (multiprocessing.Queue) 206 @param inputQueue input queue (multiprocessing.Queue)
208 @param outputQueue output queue (multiprocessing.Queue) 207 @param outputQueue output queue (multiprocessing.Queue)
209 """ 208 """
210 for filename, args in iter(inputQueue.get, 'STOP'): 209 for filename, args in iter(inputQueue.get, 'STOP'):

eric ide

mercurial