container: Ignore flake8 error 'line too long' in bash script text

Also add container script to flake8 test in gitlab-ci.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Veiko Aasa committed 2022-08-09 19:48:22 +03:00
1 parent bd71f9667c
commit 12d02fecfb
2 files changed
+4 -5

No files matched your search

+3 -4
View File
@@ -177,7 +177,7 @@ sudo chmod --recursive --silent a+w htmlcov
sudo chmod --silent a+w .coverage
exit 0
'''
''' # noqa
SETUP_AND_RUN_TESTS_SCRIPT = '''
set -x
@@ -917,9 +917,8 @@ def _get_ssh_command(ip_address, distribution):
return [
'ssh', '-Y', '-C', '-t', '-i',
str(public_key), '-o', 'LogLevel=error', '-o',
'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null',
'-o', 'IdentitiesOnly=yes',
f'fbx@{ip_address}'
'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o',
'IdentitiesOnly=yes', f'fbx@{ip_address}'
]