Skip to content

Commit 5d6ace9

Browse files
authored
Fix ruff
1 parent d17393f commit 5d6ace9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pynwb/spec.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ def get_neurodata_type(self, **kwargs):
192192
def add_group(self, **kwargs):
193193
''' Add a new specification for a subgroup to this group specification '''
194194
warn(
195-
"NWBGroupSpec.add_group is deprecated and will be removed in PyNWB 5.0. Use NWBGroupSpec.set_group instead.",
195+
"NWBGroupSpec.add_group is deprecated and will be removed in PyNWB 5.0. "
196+
"Use NWBGroupSpec.set_group instead.",
196197
DeprecationWarning,
197198
stacklevel=2
198199
)
@@ -205,7 +206,8 @@ def add_group(self, **kwargs):
205206
def add_dataset(self, **kwargs):
206207
''' Add a new specification for a subgroup to this group specification '''
207208
warn(
208-
"NWBGroupSpec.add_dataset is deprecated and will be removed in PyNWB 5.0. Use NWBGroupSpec.set_dataset instead.",
209+
"NWBGroupSpec.add_dataset is deprecated and will be removed in PyNWB 5.0. "
210+
"Use NWBGroupSpec.set_dataset instead.",
209211
DeprecationWarning,
210212
stacklevel=2
211213
)

0 commit comments

Comments
 (0)