src/eric7/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9462
e65379fdbd97
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
5 5
6 """ 6 """
7 Module implementing the syntax check for Python 3. 7 Module implementing the syntax check for Python 3.
8 """ 8 """
9 9
10 import ast
11 import contextlib
12 import multiprocessing
10 import queue 13 import queue
11 import ast
12 import re 14 import re
13 import traceback 15 import traceback
14 import multiprocessing
15 import contextlib
16 16
17 with contextlib.suppress(ImportError): 17 with contextlib.suppress(ImportError):
18 from pyflakes.checker import Checker 18 from pyflakes.checker import Checker
19 from pyflakes.messages import ImportStarUsed, ImportStarUsage 19 from pyflakes.messages import ImportStarUsage, ImportStarUsed
20 20
21 VcsConflictMarkerRegExpList = ( 21 VcsConflictMarkerRegExpList = (
22 re.compile( 22 re.compile(
23 r"""^<<<<<<< .*?\|\|\|\|\|\|\| .*?=======.*?>>>>>>> .*?$""", 23 r"""^<<<<<<< .*?\|\|\|\|\|\|\| .*?=======.*?>>>>>>> .*?$""",
24 re.MULTILINE | re.DOTALL, 24 re.MULTILINE | re.DOTALL,

eric ide

mercurial