diff -r 306373ccf8fd -r 27d21e5163b8 src/eric7/DataViews/CodeMetricsDialog.py --- a/src/eric7/DataViews/CodeMetricsDialog.py Wed Apr 10 17:03:56 2024 +0200 +++ b/src/eric7/DataViews/CodeMetricsDialog.py Wed May 15 10:45:50 2024 +0200 @@ -273,11 +273,11 @@ QHeaderView.ResizeMode.Interactive ) - def closeEvent(self, evt): + def closeEvent(self, _evt): """ Protected method to handle the close event. - @param evt reference to the close event + @param _evt reference to the close event (unused) @type QCloseEvent """ self.cancelled = True