fix flake8 standard problems

This commit is contained in:
Beichi-CHs
2021-11-18 12:56:16 +08:00
parent 3754fa2542
commit d4b3a42f94
6 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ print("running flake8...")
if os.system("flake8 --statistics ."):
exit()
ret = os.system("coverage run --include=\"$PWD/*\" manage.py test {module} --settings={setting}".format(module=test_module, setting=setting))
ret = os.system('coverage run --include=\"$PWD/*\" manage.py test {module} --settings={setting}'.format(module=test_module, setting=setting))
if not ret and is_coverage:
os.system("coverage html && open htmlcov/index.html")