mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fixed new flake8 rule issues.
This commit is contained in:
parent
42e6288e16
commit
bfc65193f0
3 changed files with 5 additions and 3 deletions
|
@ -33,7 +33,9 @@ for module_name in module_names:
|
||||||
if ((not is_gtk) or (ver == 2 and (not IS_MAC) and (not SKIP_GTK))):
|
if ((not is_gtk) or (ver == 2 and (not IS_MAC) and (not SKIP_GTK))):
|
||||||
def fmt(s):
|
def fmt(s):
|
||||||
return s % {'module_name': module_name, 'ver': ver}
|
return s % {'module_name': module_name, 'ver': ver}
|
||||||
open(os.path.join(".", "tests", "individually-importing", fmt("import_v%(ver)d_%(module_name)s.py")), 'w').write(fmt('''#!/usr/bin/env python%(ver)d
|
open(os.path.join(".", "tests", "individually-importing",
|
||||||
|
fmt("import_v%(ver)d_%(module_name)s.py")),
|
||||||
|
'w').write(fmt('''#!/usr/bin/env python%(ver)d
|
||||||
import sys
|
import sys
|
||||||
print('1..1')
|
print('1..1')
|
||||||
sys.path.insert(0, ".")
|
sys.path.insert(0, ".")
|
||||||
|
|
Loading…
Add table
Reference in a new issue