@@ -810,7 +810,7 @@ def dispatch(self, request, *args, **kwargs):
810810 if obj .dataspace != request .user .dataspace :
811811 messages .error (
812812 request ,
813- ("The dataspace of the selected objects did " " not match your dataspace." ),
813+ ("The dataspace of the selected objects did not match your dataspace." ),
814814 )
815815 return redirect (self .success_url )
816816 return super ().dispatch (request , * args , ** kwargs )
@@ -1392,7 +1392,7 @@ def post_scan_to_package(self, form_class):
13921392 if form .is_valid ():
13931393 if form .changed_data :
13941394 form .save ()
1395- msg = f' Values for { ", " .join (form .changed_data )} assigned to the package.'
1395+ msg = f" Values for { ', ' .join (form .changed_data )} assigned to the package."
13961396 messages .success (request , msg )
13971397 else :
13981398 messages .warning (request , "No new values to assign." )
@@ -1711,7 +1711,7 @@ def send_scan_notification(request, key):
17111711 updated_fields = scancodeio .update_from_scan (package , user )
17121712 if updated_fields :
17131713 description = (
1714- f' Automatically updated { ", " .join (updated_fields )} from scan results\n '
1714+ f" Automatically updated { ', ' .join (updated_fields )} from scan results\n "
17151715 + description
17161716 )
17171717
@@ -2286,7 +2286,7 @@ def scan_summary_fields(self, scan_summary):
22862286 (
22872287 f'<input type="{ input_type } " name="{ model_field_name } "'
22882288 f' value="{ escape (entry .get ("value" ))} ">'
2289- f' { escape (entry .get (" value" ))} '
2289+ f" { escape (entry .get (' value' ))} "
22902290 f' <span class="badge text-bg-secondary rounded-pill">{ entry .get ("count" )} '
22912291 f"</span>"
22922292 )
0 commit comments