mne-tools / mne-connectivity

Connectivity algorithms that leverage the MNE-Python API.
https://mne.tools/mne-connectivity/dev/index.html
BSD 3-Clause "New" or "Revised" License
68 stars 34 forks source link

[MAINT] Modernise super method calls #206

Closed tsbinns closed 3 months ago

tsbinns commented 3 months ago

Modernises super method calls by removing explicit passing of class type and self, e.g.:

super(MyClass, self).my_method() => super().my_method()

Suggested by @drammock & @wmvanvliet: https://github.com/mne-tools/mne-connectivity/pull/193#discussion_r1638555743