Skip to content

Commit 15b9b40

Browse files
committed
readd ignores
1 parent 95ebc19 commit 15b9b40

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

molpipeline/pipeline/_skl_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ def __sklearn_tags__(self) -> Tags: # noqa: PLW3201
10251025
# tuples and `fit` is not called yet to validate the steps.
10261026
pass
10271027

1028-
try:
1028+
try: # noqa: PLW0717
10291029
# Only the _final_estimator is changed from the original implementation is
10301030
# changed in the following 2 lines
10311031
if (

notebooks/advanced_05_conformal_prediction.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@
716716
" confidence=confidence_level,\n",
717717
")\n",
718718
"\n",
719-
"try:\n",
719+
"try: # noqa: PLW0717\n",
720720
" results_cross_clf = cross_cp_clf.evaluate(\n",
721721
" x_test_clf,\n",
722722
" y_test_clf,\n",
@@ -1289,7 +1289,7 @@
12891289
"intervals_cross = cross_cp_reg.predict_int(x_test_reg, confidence=confidence_level)\n",
12901290
"\n",
12911291
"# Evaluate using built-in evaluate method\n",
1292-
"try:\n",
1292+
"try: # noqa: PLW0717\n",
12931293
" results_cross_built_in = cross_cp_reg.evaluate(\n",
12941294
" x_test_reg,\n",
12951295
" y_test_reg,\n",

0 commit comments

Comments
 (0)