Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Nov 10, 2023
1 parent 69a5b1c commit d89bd4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/ibek/runtime_cmds/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def generate_pvi(ioc: IOC) -> Tuple[List[IndexEntry], List[Tuple[Database, Entit
device.deserialize_parents([PVI_DEFS])

# render the prefix value for the device from the instance parameters
prefix_value = render_with_utils(entity, entity_pvi.prefix)
entity_dict = entity.model_dump()
prefix_value = render_with_utils(entity_dict, entity_pvi.prefix)

macros = {"prefix": prefix_value}

Expand Down
3 changes: 0 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import os
import shutil
from pathlib import Path
from typing import List

from pytest import fixture
from ruamel.yaml import YAML
Expand All @@ -10,7 +8,6 @@
os.environ["EPICS_ROOT"] = str(Path(__file__).parent / "samples" / "epics")

from ibek.__main__ import cli # noqa: E402
from ibek.globals import PVI_DEFS # noqa: E402
from ibek.ioc import clear_entity_model_ids, make_entity_models # noqa: E402
from ibek.support import Support # noqa: E402

Expand Down

0 comments on commit d89bd4e

Please sign in to comment.