-
Notifications
You must be signed in to change notification settings - Fork 35
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
MAINT: Modernize CIs #532
MAINT: Modernize CIs #532
Conversation
@@ -179,8 +180,7 @@ | |||
# correct. | |||
|
|||
events, event_dict = mne.events_from_annotations(raw_haemo) | |||
fig = mne.viz.plot_events(events, event_id=event_dict, | |||
sfreq=raw_haemo.info['sfreq']) | |||
fig = mne.viz.plot_events(events, event_id=event_dict, sfreq=raw_haemo.info["sfreq"]) |
Check warning
Code scanning / CodeQL
Variable defined multiple times
) | ||
if isinstance(state["data"], dict): | ||
for channel in state["data"]: | ||
state["data"][channel] = state["data"][channel].__dict__ |
Check failure
Code scanning / CodeQL
Modification of parameter with default
if isinstance( | ||
state["data"][channel]["model"], nilearn.glm.regression.OLSModel | ||
): | ||
state["data"][channel]["modelname"] = str( |
Check failure
Code scanning / CodeQL
Modification of parameter with default
state["data"][channel]["modelname"] = str( | ||
state["data"][channel]["model"].__class__ | ||
) | ||
state["data"][channel]["model"] = state["data"][channel][ |
Check failure
Code scanning / CodeQL
Modification of parameter with default
"model" | ||
].__dict__ | ||
if isinstance(state["data"], nilearn.glm.contrasts.Contrast): | ||
state["data"] = state["data"].__dict__ |
Check failure
Code scanning / CodeQL
Modification of parameter with default
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
This reverts commit 87e0ee3.
for more information, see https://pre-commit.ci
This reverts commit d628671.
for more information, see https://pre-commit.ci
This reverts commit 51579f8.
This reverts commit a8f9055.
ruff
tests.yml
Enable pre-committools/*
in favor of plain callsWill get things green, adjust merge reqs, and merge