Thu, 05 Jun 2014 10:22:38 +0200
Added a TODO: in the syntax checker to check for common VCS conflict markers.
Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py | file | annotate | diff | comparison | revisions |
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py Thu Jun 05 10:16:05 2014 +0200 +++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py Thu Jun 05 10:22:38 2014 +0200 @@ -103,6 +103,9 @@ # unicode string' exception on Python2 codestring = normalizeCode(codestring) + # TODO: check for lines starting with VCS conflict markers + # (7 * c for c in "<>=|") and report as 'error' like syntax check + if filename.endswith('.ptl'): try: import quixote.ptl_compile