Fix ruff complains

This commit is contained in:
Martin Burggraf 2026-08-30 14:04:04 +02:00
parent 3c85219534
commit d7d78f4fc7
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from django.core.exceptions import NON_FIELD_ERRORS
from django.http import Http404
from django.shortcuts import get_object_or_404
from django.utils.translation import gettext_lazy as _
from drf_spectacular.utils import OpenApiResponse, OpenApiTypes, extend_schema, extend_schema_view
from drf_spectacular.utils import OpenApiResponse, OpenApiTypes, extend_schema
from rest_framework.decorators import action
from rest_framework.exceptions import PermissionDenied, ValidationError
from rest_framework.generics import RetrieveUpdateDestroyAPIView

View File

@ -85,7 +85,7 @@ class Command(BaseCommand):
cleaned_data = form.cleaned_data.copy()
notifications = cleaned_data.pop('_notifications')
for key in EXEC_PARAM_FIELDS:
cleaned_data.pop(key, None)
cleaned_data.pop(key, None)
# Execute the script.
job = ScriptJob.enqueue(