Skip to content

Commit 7262a73

Browse files
committed
Noqa for except
1 parent f0ac78f commit 7262a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mslice/plotting/plot_window/overplot_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def toggle_overplot_line(
5858
plot_handler._get_overplot_datum(),
5959
plot_handler.intensity_type,
6060
)
61-
except:
61+
except: # noqa: E722
6262
warnings.warn("No Bragg peak found as cut has no |Q| dimension.")
6363
return;
6464
else:

0 commit comments

Comments
 (0)