-
Notifications
You must be signed in to change notification settings - Fork 67
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
Enable stricter linting #872
Conversation
Avoid conflict with built-in typing module.
mne_bids_pipeline/_config.py
Outdated
|
||
from annotated_types import Ge, Interval, Len | ||
from mne import Covariance | ||
from mne_bids import BIDSPath | ||
|
||
from mne_bids_pipeline.typing import ( | ||
from mne_bids_pipeline._types import ( |
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.
Speaking of public vs private, this one was meant to be public like numpy.typing because people might want to annotate with some of our types like ArbitraryContrast
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.
Like from mne_bids_pipeline.typing import ArbitraryContrast
or similar
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.
I will revisit this tomrrow
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 I have reverted this change
This reverts commit 23069a5.
typing
module
Thanks @hoechenberger ! |
Before merging …
docs/source/changes.md
)