SonarOpenCommunity / sonar-cxx

Missing whitespace after ,, ;, or : FLK-E231
Style
Minor
6 months ago3 years old
missing whitespace after ','
243    command = None
244
245    if platform.system() == 'Linux':
246        command = [os.path.join(sonarhome,'bin/linux-x86-64/sonar.sh'), 'stop']247    elif platform.system() == 'Darwin':
248        command = [os.path.join(sonarhome, 'bin/macosx-universal-64/sonar.sh'), 'stop']
249    elif platform.system() == 'Windows':
missing whitespace after ','
211    if os.path.exists(wrapper_config):
212        replace(wrapper_config,
213            'wrapper.java.command=java',
214            'wrapper.java.command=' + (os.environ['JAVA_HOME'] + '/bin/java').replace('\\','/'))215
216    #sonar_properties = os.path.join(sonarhome, 'conf', 'sonar.properties')
217    #replace(
 51        "const_cast", "continue", "co_await", "co_return", "co_yield", "decltype", "default",
 52        "delete", "do", "double", "dynamic_cast", "else", "enum", "explicit", "extern", "false",
 53        "float", "for", "friend", "goto", "if", "inline", "int", "long", "mutable", "namespace",
 54        "new", "noexcept","nullptr", "operator", "private", "protected", "public", "register", 55        "reinterpret_cast", "return", "requires", "short", "signed", "sizeof", "static",
 56        "static_assert", "static_cast", "struct", "switch", "template", "this", "thread_local",
 57        "throw", "true", "try", "typedef", "typename", "union", "unsigned", "using", "virtual",
missing whitespace after ':'
227    'C26498': {'severity':'MAJOR','type':'CODE_SMELL'},
228    'C28103': {'severity':'INFO','type':'BUG'},
229    'C28105': {'severity':'INFO','type':'BUG'},
230    'C28114': {'severity':'BLOCKER','type':'BUG'},231}
232
233
missing whitespace after ','
227    'C26498': {'severity':'MAJOR','type':'CODE_SMELL'},
228    'C28103': {'severity':'INFO','type':'BUG'},
229    'C28105': {'severity':'INFO','type':'BUG'},
230    'C28114': {'severity':'BLOCKER','type':'BUG'},231}
232
233