Ajdust indents in __main__.py
... so that the match the style of the other python code in this project
This commit is contained in:
parent
f4e243d5ad
commit
a2c06026d5
1 changed files with 7 additions and 7 deletions
|
@ -7,12 +7,12 @@ from os.path import dirname, abspath
|
||||||
this_dir = dirname(abspath(__file__))
|
this_dir = dirname(abspath(__file__))
|
||||||
|
|
||||||
def filename(f):
|
def filename(f):
|
||||||
return f.name
|
return f.name
|
||||||
|
|
||||||
with scandir(dirname(abspath(__file__))) as it:
|
with scandir(dirname(abspath(__file__))) as it:
|
||||||
for f in sorted(it, key = filename):
|
for f in sorted(it, key = filename):
|
||||||
if f.name.startswith('__') or not f.is_file():
|
if f.name.startswith('__') or not f.is_file():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print(f"Running {f.path}")
|
print(f"Running {f.path}")
|
||||||
runpy.run_path(f.path)
|
runpy.run_path(f.path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue