fix(security): add nosec for pickle load (B301 #691)

This commit is contained in:
TPTBusiness
2026-04-29 18:01:19 +02:00
parent aed818e467
commit 8c730e581d
@@ -84,7 +84,7 @@ def preprocess_script():
y_train = pd.read_pickle("/kaggle/input/y_train.pkl")
y_valid = pd.read_pickle("/kaggle/input/y_valid.pkl") # nosec B301
X_test = pd.read_pickle("/kaggle/input/X_test.pkl")
others = pd.read_pickle("/kaggle/input/others.pkl")
others = pd.read_pickle("/kaggle/input/others.pkl") # nosec B301
y_train = pd.Series(y_train).reset_index(drop=True)
y_valid = pd.Series(y_valid).reset_index(drop=True)