diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-23 22:04:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 22:04:28 +0200 |
commit | c58dff10cb3d4d7f942ecd43169cd4681afe26f1 (patch) | |
tree | 4095a2b7e8f083ca22a9f4ca0424960002d34f9f /pyGHDL/dom/_Utils.py | |
parent | dac2e4dca824f413821962eeac314ceaf56925a7 (diff) | |
parent | 3dddb7dea5cf898f7f05699a7f6aee8906f9ce24 (diff) | |
download | ghdl-c58dff10cb3d4d7f942ecd43169cd4681afe26f1.tar.gz ghdl-c58dff10cb3d4d7f942ecd43169cd4681afe26f1.tar.bz2 ghdl-c58dff10cb3d4d7f942ecd43169cd4681afe26f1.zip |
Set black formatting to 120 chars per line.
Added pyproject.toml
Diffstat (limited to 'pyGHDL/dom/_Utils.py')
-rw-r--r-- | pyGHDL/dom/_Utils.py | 8 |
1 files changed, 2 insertions, 6 deletions
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 |