mirror of https://gitlab.com/ita1024/waf.git
Cleanup: unnecessary semicolons in Python code
This commit is contained in:
parent
a02a0b54b3
commit
9147e9128a
|
@ -733,7 +733,7 @@ def tokenize_private(s):
|
|||
if v:
|
||||
if name == IDENT:
|
||||
try:
|
||||
g_optrans[v];
|
||||
g_optrans[v]
|
||||
name = OP
|
||||
except KeyError:
|
||||
# c++ specific
|
||||
|
|
|
@ -50,7 +50,7 @@ except ImportError:
|
|||
|
||||
critical_errors = 0
|
||||
CPPLINT_FORMAT = '[CPPLINT] %(filename)s:\nline %(linenum)s, severity %(confidence)s, category: %(category)s\n%(message)s\n'
|
||||
RE_EMACS = re.compile('(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]');
|
||||
RE_EMACS = re.compile('(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]')
|
||||
CPPLINT_RE = {
|
||||
'waf': RE_EMACS,
|
||||
'emacs': RE_EMACS,
|
||||
|
|
|
@ -213,7 +213,7 @@ class PBXProject(XCodeNode):
|
|||
XCodeNode.__init__(self)
|
||||
self.buildConfigurationList = XCConfigurationList([XCBuildConfiguration('waf', {})])
|
||||
self.compatibilityVersion = version[0]
|
||||
self.hasScannedForEncodings = 1;
|
||||
self.hasScannedForEncodings = 1
|
||||
self.mainGroup = PBXGroup(name)
|
||||
self.projectRoot = ""
|
||||
self.projectDirPath = ""
|
||||
|
|
|
@ -417,7 +417,7 @@ class PBXProject(XCodeNode):
|
|||
|
||||
self.buildConfigurationList = XCConfigurationList(configurations)
|
||||
self.compatibilityVersion = version[0]
|
||||
self.hasScannedForEncodings = 1;
|
||||
self.hasScannedForEncodings = 1
|
||||
self.mainGroup = PBXGroup(name)
|
||||
self.projectRoot = ""
|
||||
self.projectDirPath = ""
|
||||
|
|
Loading…
Reference in New Issue