@@ -30,7 +30,6 @@ class EpicsIOCOptions:
3030 name_options : EpicsNameOptions = EpicsNameOptions ()
3131
3232
33-
3433class EpicsIOC :
3534 def __init__ (
3635 self , pv_prefix : str , mapping : Mapping , options : EpicsIOCOptions | None = None
@@ -74,7 +73,7 @@ def _add_sub_controller_pvi_info(self, pv_prefix: str, parent: BaseController):
7473 _convert_attribute_name_to_pv_name (
7574 path ,
7675 self ._name_options .pv_naming_convention ,
77- is_attribute = False
76+ is_attribute = False ,
7877 )
7978 for path in child .path
8079 ]
@@ -96,7 +95,9 @@ def _create_and_link_attribute_pvs(self, pv_prefix: str, mapping: Mapping) -> No
9695 ]
9796 for attr_name , attribute in single_mapping .attributes .items ():
9897 pv_name = _convert_attribute_name_to_pv_name (
99- attr_name , self ._name_options .pv_naming_convention , is_attribute = True
98+ attr_name ,
99+ self ._name_options .pv_naming_convention ,
100+ is_attribute = True ,
100101 )
101102 _pv_prefix = self ._name_options .pv_separator .join (
102103 [pv_prefix ] + formatted_path
@@ -169,7 +170,9 @@ def _create_and_link_command_pvs(self, pv_prefix: str, mapping: Mapping) -> None
169170 ]
170171 for attr_name , method in single_mapping .command_methods .items ():
171172 pv_name = _convert_attribute_name_to_pv_name (
172- attr_name , self ._name_options .pv_naming_convention , is_attribute = True
173+ attr_name ,
174+ self ._name_options .pv_naming_convention ,
175+ is_attribute = True ,
173176 )
174177 _pv_prefix = self ._name_options .pv_separator .join (
175178 [pv_prefix ] + formatted_path
0 commit comments