Skip to content

Commit

Permalink
Fix import sort aboutcode-org#597
Browse files Browse the repository at this point in the history
Reference: aboutcode-org#597

Signed-off-by: John M. Horan <johnmhoran@gmail.com>
  • Loading branch information
johnmhoran authored and TG1999 committed Oct 19, 2022
1 parent 4d3338d commit edb2251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vulnerabilities/importers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#

from vulnerabilities.importers import alpine_linux
from vulnerabilities.importers import archlinux
from vulnerabilities.importers import debian
from vulnerabilities.importers import github
from vulnerabilities.importers import gitlab
Expand All @@ -17,7 +18,6 @@
from vulnerabilities.importers import pypa
from vulnerabilities.importers import pysec
from vulnerabilities.importers import redhat
from vulnerabilities.importers import archlinux

IMPORTERS_REGISTRY = [
nginx.NginxImporter,
Expand Down
3 changes: 1 addition & 2 deletions vulnerabilities/importers/archlinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
#
import dataclasses
import json
import pprint
from typing import Iterable
from typing import List
from typing import Mapping
from typing import Set
from urllib.request import urlopen

from packageurl import PackageURL
import pprint

from vulnerabilities import severity_systems
from vulnerabilities.importer import AdvisoryData
Expand All @@ -31,7 +31,6 @@
from vulnerabilities.utils import fetch_response
from vulnerabilities.utils import nearest_patched_package


# Take a URL -> Grab the data from the URL -> Map it according to AdvisoryData


Expand Down

0 comments on commit edb2251

Please sign in to comment.