Skip to content

Commit c39f4ba

Browse files
committed
Linting import cleanup.
1 parent 80235e0 commit c39f4ba

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
# match ubuntu-22.04
16-
python-version: ["3.9", "3.10", "3.10"]
16+
python-version: ["3.9", "3.10", "3.11"]
1717

1818
env:
1919
OS: ubuntu-22.04

scoutbot/loc/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import cv2
1616
import numpy as np
1717
import onnxruntime as ort
18-
import pooch
1918
import torch
2019
import torchvision
2120
import tqdm
@@ -176,7 +175,7 @@ def fetch(pull=False, config=DEFAULT_CONFIG):
176175
log.warning(f"Local model found at {model_path} but hash mismatch. Attempting fetch...")
177176

178177
# Import the utility function from parent module
179-
from scoutbot import MODEL_BASE_URL, QUIET, get_model_from_source
178+
from scoutbot import MODEL_BASE_URL, get_model_from_source
180179

181180
onnx_model = get_model_from_source(
182181
model_name=model_name,

scoutbot/wic/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import numpy as np
1616
import onnxruntime as ort
17-
import pooch
1817
import torch
1918
import tqdm
2019

@@ -85,7 +84,7 @@ def fetch(pull=False, config=DEFAULT_CONFIG):
8584
log.warning(f"Local model found at {model_path} but hash mismatch. Attempting fetch...")
8685
# Proceed to download logic below
8786

88-
from scoutbot import MODEL_BASE_URL, QUIET, get_model_from_source
87+
from scoutbot import MODEL_BASE_URL, get_model_from_source
8988

9089
onnx_model = get_model_from_source(
9190
model_name=model_name,

0 commit comments

Comments
 (0)