-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
MRG, MAINT: Support only 3.6+ #7638
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
drammock
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questions:
- Do you think it's worth it to start using abstract base class
Collectionin type checking? - Any parts of the codebase that would benefit from
namedtuple?
|
👍 for type-checking against an ABC. |
Maybe but it will probably need more testing, so I'd rather let someone else tackle it in another PR |
|
would someone with python 2.5 still be able to use mne 0.21 and have silent bugs? |
No because:
|
|
all good then
… |
In principle anywhere we return a tuple could probably benefit from it, I guess |
Codecov Report
@@ Coverage Diff @@
## master #7638 +/- ##
==========================================
- Coverage 90.14% 90.08% -0.07%
==========================================
Files 454 454
Lines 83929 83583 -346
Branches 13324 13230 -94
==========================================
- Hits 75661 75298 -363
- Misses 5406 5423 +17
Partials 2862 2862 |
|
Rebased, okay to merge once green @agramfort ? |
|
+1 for MRG when CIs are happy |
| 'CP4', 'PO8', 'P8', 'P6', 'CP6', 'PO10', 'TP10', 'TP8', 'FT10', 'T8', | ||
| 'C6', 'FT8' | ||
| ] | ||
| assert set(EXPECTED_CH_NAMES) == set(EXPECTED_CH_NAMES_OLD) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@larsoner why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of being alphabetical it now should be the order on disk. I figured it shouldn't affect being able to actually use it with our montage functions...
Closes #7635