-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix incorrect type hint in Neuralynx I/O module #12236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
An incorrect type hint sneaked in via mne-tools#11969, causing confusion to static type checkers. Since we don't use type hints in MNE yet (except for some very rare exceptions), I simply removed the faulty one instead of fixing it.
|
@larsoner I also think it's unusual that |
|
Yes |
|
Can you take over please? I'm a bit busy with other stuff :) |
|
@larsoner I rearranged the signature but didn't add a changelog entry yet |
9b2acf2 to
b588492
Compare
* upstream/main: Add some omitted dependencies to "full" and "doc" variants (mne-tools#12235) Fix pyproject.toml setuptools configuration (mne-tools#12240) FIX: Allow eyetrack channels to be used with plot_compare_evoked (mne-tools#12190)
|
Thanks for cleaning things up, @larsoner! |
An incorrect type hint sneaked in via #11969, causing confusion to static type checkers.
Since we don't use type hints in MNE yet (except for some very rare exceptions), I simply removed the faulty one instead of fixing it.
cc @KristijanArmeni
FYI the correct hint for our supported versions of Python would be
Optional[List[str]]orUnion[None, List[str]]