Swift: autopep8 integration tests

This commit is contained in:
Paolo Tranquilli
2022-11-15 15:43:05 +01:00
parent c2171c01e1
commit 635391eae8
5 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
from create_database_utils import *
run_codeql_database_create([
'swift package clean',
'swift build'
'swift package clean',
'swift build'
], lang='swift')

View File

@@ -1,5 +1,5 @@
from create_database_utils import *
run_codeql_database_create([
'make',
'make',
], lang='swift')

View File

@@ -1,6 +1,6 @@
from create_database_utils import *
run_codeql_database_create([
'swift package clean',
'swift build'
'swift package clean',
'swift build'
], lang='swift')

View File

@@ -1,7 +1,7 @@
from create_database_utils import *
run_codeql_database_create([
'env',
'swift package clean',
'swift build'
'env',
'swift package clean',
'swift build'
], lang='swift', keep_trap=True)

View File

@@ -21,7 +21,7 @@ this_dir = pathlib.Path(__file__).parent.resolve()
def options():
p = argparse.ArgumentParser()
p.add_argument("--test-dir", "-d", type=pathlib.Path, action="append")
#FIXME: the following should be the default
# FIXME: the following should be the default
p.add_argument("--check-databases", action="store_true")
p.add_argument("--learn", action="store_true")
p.add_argument("--threads", "-j", type=int, default=0)