Run black on utils

This commit is contained in:
Dion Moult
2024-07-26 12:13:29 +10:00
parent a6286293d8
commit e7b791f4a2
78 changed files with 2235 additions and 2098 deletions
+1
View File
@@ -17,4 +17,5 @@
# along with IfcTester. If not, see <http://www.gnu.org/licenses/>.
from .ids import open
__version__ = version = "0.0.0"
+4 -12
View File
@@ -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)
-1
View File
@@ -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