From a3255c69df60fee697e1ee546052a8abe86fb4ff Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 23 Aug 2021 21:20:25 +0200 Subject: black: rerun, to pick pyproject settings --- pyGHDL/dom/_Utils.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'pyGHDL/dom/_Utils.py') diff --git a/pyGHDL/dom/_Utils.py b/pyGHDL/dom/_Utils.py index dbb39f43d..8fcfd7667 100644 --- a/pyGHDL/dom/_Utils.py +++ b/pyGHDL/dom/_Utils.py @@ -63,14 +63,10 @@ def CheckForErrors() -> None: message = errorout_memory.Get_Error_Message(i + 1) errors.append( - "{file}:{line}:{column}: {msg}".format( - file=fileName, line=rec.line, column=rec.offset, msg=message - ) + "{file}:{line}:{column}: {msg}".format(file=fileName, line=rec.line, column=rec.offset, msg=message) ) - raise DOMException("Error raised in libghdl.") from LibGHDLException( - "libghdl: Internal error.", errors - ) + raise DOMException("Error raised in libghdl.") from LibGHDLException("libghdl: Internal error.", errors) @export -- cgit v1.2.3