Skip to content

Commit 080acd3

Browse files
committed
appeasing hound
1 parent fe60a29 commit 080acd3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/framework/toy_build.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,15 +3009,14 @@ def test_fix_shebang(self):
30093009
# exact same file as original binary (untouched)
30103010
self.assertEqual(toy_txt, fn_txt)
30113011

3012-
regexes = { }
3012+
regexes = {}
30133013
# no re.M, this should match at start of file!
30143014
regexes['py'] = re.compile(r'^#!/usr/bin/env python\n# test$')
30153015
regexes['pl'] = re.compile(r'^#!/usr/bin/env perl\n# test$')
30163016
regexes['sh'] = re.compile(r'^#!/usr/bin/env bash\n# test$')
30173017

3018-
30193018
# all scripts should have a shebang that matches their extension
3020-
scripts = { }
3019+
scripts = {}
30213020
scripts['py'] = ['t1.py', 't2.py', 't3.py', 't4.py', 't5.py', 't6.py', 't7.py', 'b1.py']
30223021
scripts['pl'] = ['t1.pl', 't2.pl', 't3.pl', 't4.pl', 't5.pl', 't6.pl', 't7.pl', 'b1.pl']
30233022
scripts['sh'] = ['t1.sh', 't2.sh', 't3.sh', 't4.sh', 't5.sh', 'b1.sh', 'b2.sh']
@@ -3044,7 +3043,7 @@ def test_fix_shebang(self):
30443043
# exact same file as original binary (untouched)
30453044
self.assertEqual(toy_txt, fn_txt)
30463045

3047-
regexes_S = { }
3046+
regexes_S = {}
30483047
# no re.M, this should match at start of file!
30493048
regexes_S['py'] = re.compile(r'^#!/usr/bin/env -S python\n# test$')
30503049
regexes_S['pl'] = re.compile(r'^#!/usr/bin/env -S perl\n# test$')

0 commit comments

Comments
 (0)