diff --git a/vulnerabilities/api.py b/vulnerabilities/api.py index e09cf01b6..fb21bada0 100644 --- a/vulnerabilities/api.py +++ b/vulnerabilities/api.py @@ -25,11 +25,11 @@ from django_filters import rest_framework as filters from packageurl import PackageURL -from rest_framework import serializers -from rest_framework import viewsets from rest_framework.decorators import action from rest_framework.response import Response +from rest_framework import serializers +from rest_framework import viewsets from vulnerabilities.models import Package from vulnerabilities.models import Vulnerability from vulnerabilities.models import VulnerabilityReference diff --git a/vulnerabilities/importer.py b/vulnerabilities/importer.py index 31a22fce2..8e0903b65 100644 --- a/vulnerabilities/importer.py +++ b/vulnerabilities/importer.py @@ -38,10 +38,10 @@ from binaryornot.helpers import is_binary_string from git import DiffIndex from git import Repo +from license_expression import Licensing from packageurl import PackageURL from univers.version_range import VersionRange from univers.versions import Version -from license_expression import Licensing from vulnerabilities.helpers import classproperty from vulnerabilities.helpers import nearest_patched_package