mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
Run black, and add black to a "qa" target to make it a standardised process.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
# BlenderBIM Add-on - OpenBIM Blender Add-on
|
||||
# Copyright (C) 2020, 2021 Dion Moult <dion@thinkmoult.com>
|
||||
#
|
||||
@@ -28,8 +27,8 @@ import pytest
|
||||
|
||||
argv = [__file__]
|
||||
|
||||
if '--' in sys.argv:
|
||||
i = sys.argv.index('--')
|
||||
argv += sys.argv[i+1:]
|
||||
if "--" in sys.argv:
|
||||
i = sys.argv.index("--")
|
||||
argv += sys.argv[i + 1 :]
|
||||
|
||||
pytest.main(argv)
|
||||
|
||||
Reference in New Issue
Block a user