Skip to content

Commit 9a841a5

Browse files
committed
fix ruff
1 parent bcaf548 commit 9a841a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

netbox_custom_objects/api/serializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def get_serializer_class(model, skip_object_fields=False):
211211

212212
# Create field list including all necessary fields
213213
base_fields = ["id", "url", "display", "created", "last_updated", "tags"]
214-
214+
215215
# Only include custom field names that will actually be added to the serializer
216216
custom_field_names = []
217217
for field in model_fields:
@@ -220,7 +220,7 @@ def get_serializer_class(model, skip_object_fields=False):
220220
]:
221221
continue
222222
custom_field_names.append(field.name)
223-
223+
224224
all_fields = base_fields + custom_field_names
225225

226226
meta = type(

netbox_custom_objects/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ def get_form(self, queryset):
628628
(NetBoxModelBulkEditForm,),
629629
attrs,
630630
)
631-
631+
632632
# Set the model attribute that NetBox form mixins expect
633633
form.model = queryset.model
634634

0 commit comments

Comments
 (0)