From c3a48ef007c5eecd643b27b30dd55f233b88da2d Mon Sep 17 00:00:00 2001 From: Sebastian Goeldi Date: Wed, 26 Jun 2024 18:54:52 +0200 Subject: [PATCH] fix pre-commit --- CHANGELOG.md | 2 +- src/kfactory/kcell.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad9792f6..46b04495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -636,7 +636,7 @@ * add invert to droute_manhattan by [@joamatab](https://github.com/joamatab) in https://github.com/gdsfactory/kfactory/pull/217 * better_odd_port_width_message by [@joamatab](https://github.com/joamatab) in https://github.com/gdsfactory/kfactory/pull/220 * Added `rec_dict` to `@cell` decorator to allow for recursive dictionaries by [@sebastian-goeldi](https://github.com/sebastian-goeldi) in https://github.com/gdsfactory/kfactory/pull/221 -* more consitent names for routes by [@joamatab](https://github.com/joamatab) in https://github.com/gdsfactory/kfactory/pull/226 +* more consistent names for routes by [@joamatab](https://github.com/joamatab) in https://github.com/gdsfactory/kfactory/pull/226 * Virtual Cells by [@sebastian-goeldi](https://github.com/sebastian-goeldi) in https://github.com/gdsfactory/kfactory/pull/228 diff --git a/src/kfactory/kcell.py b/src/kfactory/kcell.py index 4f00b07c..cd864ddf 100644 --- a/src/kfactory/kcell.py +++ b/src/kfactory/kcell.py @@ -7568,7 +7568,6 @@ def show( and not the main KCLayout. """ import inspect - import tempfile delete = False delete_lyrdb = False @@ -7579,9 +7578,9 @@ def show( stk = inspect.getouterframes(inspect.currentframe()) frame = stk[2] frame_filename_stem = Path(frame.filename).stem - if frame_filename_stem.startswith("