mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
Run black on utils
This commit is contained in:
@@ -17,4 +17,5 @@
|
||||
# along with IfcTester. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from .ids import open
|
||||
|
||||
__version__ = version = "0.0.0"
|
||||
|
||||
@@ -27,18 +27,10 @@ from . import reporter
|
||||
parser = argparse.ArgumentParser(description="Uses an IDS to audit an IFC")
|
||||
parser.add_argument("ids", type=str, help="Path to an IDS")
|
||||
parser.add_argument("ifc", type=str, help="Path to an IFC", nargs="?")
|
||||
parser.add_argument(
|
||||
"-r", "--reporter", type=str, help="The reporting method to view audit results", default="Console"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--no-color", help="Disable colour output (supported by Console reporting)", action="store_true"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--excel-safe", help="Make sure exported ODS is safely exported for Excel", action="store_true"
|
||||
)
|
||||
parser.add_argument(
|
||||
"-o", "--output", help="Output file (supported for all types of reporting except Console)"
|
||||
)
|
||||
parser.add_argument("-r", "--reporter", type=str, help="The reporting method to view audit results", default="Console")
|
||||
parser.add_argument("--no-color", help="Disable colour output (supported by Console reporting)", action="store_true")
|
||||
parser.add_argument("--excel-safe", help="Make sure exported ODS is safely exported for Excel", action="store_true")
|
||||
parser.add_argument("-o", "--output", help="Output file (supported for all types of reporting except Console)")
|
||||
args = parser.parse_args()
|
||||
|
||||
specs = ids.open(args.ids)
|
||||
|
||||
@@ -444,7 +444,6 @@ class Html(Json):
|
||||
requirement["total_omitted_passes"] = total_passed_entities - entity_limit
|
||||
requirement["has_omitted_passes"] = total_passed_entities > entity_limit
|
||||
|
||||
|
||||
def to_string(self) -> str:
|
||||
import pystache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user