Skip to content

Commit 5a471bb

Browse files
CodeLifter-sysTheRodzz
authored andcommitted
fix(ci): add noqa: S310 to urllib.request.Request for pre-commit
1 parent 6a111bc commit 5a471bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

machine_learning/sequential_minimum_optimization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def test_cancer_data():
451451
print("Hello!\nStart test SVM using the SMO algorithm!")
452452
# 0: download dataset and load into pandas' dataframe
453453
if not os.path.exists(r"cancer_data.csv"):
454-
request = urllib.request.Request(
454+
request = urllib.request.Request( # noqa: S310
455455
CANCER_DATASET_URL,
456456
headers={"User-Agent": "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)"},
457457
)

0 commit comments

Comments
 (0)