Skip to content

Commit 69e019d

Browse files
authored
Merge branch 'main' into doc/about-mne-overview
2 parents 92cb027 + bc9419a commit 69e019d

161 files changed

Lines changed: 4355 additions & 1268 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
if [[ $(cat merge.txt) != "" ]]; then
6363
echo "Merging $(cat merge.txt)";
6464
git pull --ff-only upstream "refs/pull/$(cat merge.txt)/merge";
65+
elif [[ "$CIRCLE_PROJECT_USERNAME" != "mne-tools" ]]; then
66+
echo "On CIRCLE_PROJECT_USERNAME=\"$CIRCLE_PROJECT_USERNAME\" repo rather than mne-tools, merging upstream/main."
67+
git merge upstream/main --no-edit || exit 1
6568
else
6669
if [[ "$CIRCLE_BRANCH" == "main" ]]; then
6770
KIND=dev
@@ -131,7 +134,8 @@ jobs:
131134
- run:
132135
name: Check Qt
133136
command: |
134-
./tools/check_qt_import.sh PyQt6
137+
set -x
138+
./tools/check_qt_import.sh ${MNE_QT_BACKEND}
135139
# Load tiny cache so that ~/.mne does not need to be created below
136140
- restore_cache:
137141
keys:
@@ -218,7 +222,7 @@ jobs:
218222
keys:
219223
- data-cache-ds004388
220224
- run:
221-
name: Get data
225+
name: Get data and triage examples to run
222226
# This limit could be increased, but this is helpful for finding slow ones
223227
# (even ~2GB datasets should be downloadable in this time from good
224228
# providers)

.github/CONTRIBUTING.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v4.35.3
47+
uses: github/codeql-action/init@v4.36.0
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -58,7 +58,7 @@ jobs:
5858
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5959
# If this step fails, then you should remove it and run the build manually (see below)
6060
- name: Autobuild
61-
uses: github/codeql-action/autobuild@v4.35.3
61+
uses: github/codeql-action/autobuild@v4.36.0
6262

6363
# ℹ️ Command-line programs to run using the OS shell.
6464
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -71,4 +71,4 @@ jobs:
7171
# ./location_of_script_within_repo/buildscript.sh
7272

7373
- name: Perform CodeQL Analysis
74-
uses: github/codeql-action/analyze@v4.35.3
74+
uses: github/codeql-action/analyze@v4.36.0

.github/workflows/credit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
git config --global user.name "mne[bot]"
4040
BRANCH=credit/$(date '+%Y%m%d')
4141
git checkout -b $BRANCH
42-
git commit -am "mne[bot]: Update code credit"
42+
git commit -am "mne[bot]: Update code credit [skip azp] [skip actions]"
4343
git push origin $BRANCH
4444
PR_NUM=$(gh pr create --base main --head $BRANCH --title "MAINT: Update code credit" --body "Created by credit [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }}). <br> <br> *Adjustments may need to be made to \`doc/sphinxext/credit_tools.py\` or \`.mailmap\` etc. to get CircleCI to pass.*" --label "no-changelog-entry-needed")
4545
echo "Opened https://github.com/mne-tools/mne-python/pull/${PR_NUM}" >> $GITHUB_STEP_SUMMARY

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
path: ~/mne_data
167167
- run: bash ./tools/github_actions_download.sh
168168
- run: bash ./tools/github_actions_test.sh # for some reason on macOS we need to run "bash X" in order for a failed test run to show up
169-
- uses: codecov/codecov-action@v6
169+
- uses: codecov/codecov-action@v6.0.1
170170
with:
171171
token: ${{ secrets.CODECOV_TOKEN }}
172172
if: success() || failure()

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Ruff mne
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.15.12
4+
rev: v0.15.15
55
hooks:
66
- id: ruff-check
77
name: ruff lint mne
@@ -74,7 +74,7 @@ repos:
7474

7575
# zizmor
7676
- repo: https://github.com/woodruffw/zizmor-pre-commit
77-
rev: v1.24.1
77+
rev: v1.25.2
7878
hooks:
7979
- id: zizmor
8080
args: [--fix]

CONTRIBUTING.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
Contributing to MNE-Python
22
==========================
33

4-
MNE-Python is maintained by a community of scientists and research labs. The project accepts contributions in the form of bug reports, fixes, feature additions, and documentation improvements (including typo corrections). The best way to start contributing is by [opening an issue](https://github.com/mne-tools/mne-python/issues/new/choose) on our GitHub page to discuss ideas for changes or enhancements, or to tell us about behavior that you think might be a bug. For *general troubleshooting* or *usage questions*, please consider posting your questions on our [MNE Forum](https://mne.discourse.group).
4+
Thanks for your interest in contributing to MNE-Python!
5+
The project accepts contributions in the form of bug reports, fixes, feature additions, and documentation improvements (including typo corrections).
6+
For *general troubleshooting* or *usage questions*, please post your questions on our [MNE Forum](https://mne.discourse.group).
57

6-
Users and contributors to MNE-Python are expected to follow our [code of conduct](https://github.com/mne-tools/.github/blob/main/CODE_OF_CONDUCT.md).
7-
8-
The [contributing guide](https://mne.tools/dev/development/contributing.html) has details on the preferred contribution workflow
8+
The [contributing guide](https://mne.tools/dev/development/contributing.html) on our website has more details on the preferred contribution workflow
99
and the recommended system configuration for a smooth contribution/development experience.
1010

1111

12+
Community Participation Guidelines
13+
----------------------------------
14+
15+
Anyone participating in our online spaces is expected to follow our [Community Participation Guidelines and Code of Conduct](https://github.com/mne-tools/.github/blob/main/CODE_OF_CONDUCT.md).
16+
17+
1218
Policy on AI Assistance in Contributions
1319
----------------------------------------
1420
Contributing to MNE-Python requires human judgment, contextual understanding, domain knowledge, and familiarity with MNE-Python’s structure and goals. It is not suitable for automatic processing by AI tools.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The minimum required dependencies to run MNE-Python are:
7575
- `Python <https://www.python.org>`__ ≥ 3.10
7676
- `NumPy <https://numpy.org>`__ ≥ 1.26
7777
- `SciPy <https://scipy.org>`__ ≥ 1.13
78-
- `Matplotlib <https://matplotlib.org>`__ ≥ 3.8
78+
- `Matplotlib <https://matplotlib.org>`__ ≥ 3.9
7979
- `Pooch <https://www.fatiando.org/pooch/latest/>`__ ≥ 1.5
8080
- `tqdm <https://tqdm.github.io>`__ ≥ 4.66
8181
- `Jinja2 <https://palletsprojects.com/p/jinja/>`__ ≥ 3.1

0 commit comments

Comments
 (0)