vulnerablecode icon indicating copy to clipboard operation
vulnerablecode copied to clipboard

Use f-strings for better readability

Open johnmhoran opened this issue 3 years ago • 2 comments

From @tdruez 's comments in https://github.com/nexB/vulnerablecode/issues/875 .

Use f-strings for better readability:

search_string = request.GET["name"]
"package_search": f"The VCIO DB does not contain a record of the package you entered: {search_string}."

johnmhoran avatar Aug 25 '22 21:08 johnmhoran

@johnmhoran can i work on this issue?

35C4n0r avatar Aug 28 '22 14:08 35C4n0r

Thanks @35C4n0r but I have this covered -- I'm working on all the UI issues.

johnmhoran avatar Aug 28 '22 17:08 johnmhoran