mne-tools / mne-bids-pipeline

Automatically process entire electrophysiological datasets using MNE-Python.
https://mne.tools/mne-bids-pipeline/
BSD 3-Clause "New" or "Revised" License
133 stars 65 forks source link

Use `list`, `tuple`, `dict` etc. instead of `List`, `Tuple`, `Dict` in type annotations #907

Closed hoechenberger closed 3 months ago

hoechenberger commented 3 months ago

Since Python 3.9, most (all?) of the builtin types we use support subscripting ([]), and their counterparts imported from typing are deprecated.

hoechenberger commented 3 months ago

I was mistaken, we had implemented this change already 😄