Skip to content

Commit 7db2b97

Browse files
committed
Reorder import statements #1767
Signed-off-by: Chin Yeung Li <tli@nexb.com>
1 parent d7c3852 commit 7db2b97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scanpipe/pipes/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@
2323
import hashlib
2424
import logging
2525
import os
26-
import requests
2726
import shutil
2827
import subprocess
29-
3028
from fnmatch import fnmatch
3129
from pathlib import Path
3230
from urllib.parse import urlparse
3331

32+
import requests
3433
from license_expression import Licensing
3534
from packageurl import PackageURL
3635
from packageurl.contrib.purl2url import get_repo_download_url_by_package_type
@@ -523,6 +522,7 @@ def fetch_path(purl):
523522
logger.warning("Failed to fetch package: %s - %s", purl, e)
524523
return None
525524

525+
526526
def check_docker_command():
527527
"""Check if the Docker command is available and the daemon is running."""
528528
docker_path = shutil.which("docker")

0 commit comments

Comments
 (0)