diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-07-05 18:27:14 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-07-05 18:27:14 +0200 |
commit | d48376d15bb9d16f860a18302ca5a3e1bd6be156 (patch) | |
tree | e736aade62cff6ed4a45bbdd90baba399b1469e0 | |
parent | 0e0080c816f1c785e3f8a5a481199e0d84bfea52 (diff) | |
download | ghdl-d48376d15bb9d16f860a18302ca5a3e1bd6be156.tar.gz ghdl-d48376d15bb9d16f860a18302ca5a3e1bd6be156.tar.bz2 ghdl-d48376d15bb9d16f860a18302ca5a3e1bd6be156.zip |
pyGHDL: reformatting
-rw-r--r-- | pyGHDL/libghdl/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyGHDL/libghdl/__init__.py b/pyGHDL/libghdl/__init__.py index 612737824..7852d4eba 100644 --- a/pyGHDL/libghdl/__init__.py +++ b/pyGHDL/libghdl/__init__.py @@ -64,8 +64,9 @@ class LibGHDLException(GHDLBaseException): def _get_libghdl_name() -> Path: """Get the name of the libghdl library (with version and extension).""" ver = __version__.replace("-", "_").replace(".", "_") - ext = {"win32": "dll", "cygwin": "dll", "msys": "dll", - "darwin": "dylib"}.get(sys_platform, "so") + ext = {"win32": "dll", "cygwin": "dll", "msys": "dll", "darwin": "dylib"}.get( + sys_platform, "so" + ) return Path("libghdl-{version}.{ext}".format(version=ver, ext=ext)) |