Skip to content

Commit ee64eba

Browse files
DOC: Fix headers (#12781)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent c9f8ee2 commit ee64eba

724 files changed

Lines changed: 1201 additions & 1527 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.

.github/actions/rename_towncrier/rename_towncrier.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env python3
22

3+
# Authors: The MNE-Python contributors.
4+
# License: BSD-3-Clause
5+
# Copyright the MNE-Python contributors.
6+
37
# Adapted from action-towncrier-changelog
48
import json
59
import os

.github/workflows/autofix.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ permissions:
99

1010
jobs:
1111
autofix:
12-
name: Autoupdate changelog entry
12+
name: Autoupdate changelog entry and headers
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-python@v5
1717
with:
1818
python-version: '3.12'
19-
- run: pip install --upgrade towncrier pygithub
19+
- run: pip install --upgrade towncrier pygithub gitpython numpy
2020
- run: python ./.github/actions/rename_towncrier/rename_towncrier.py
21+
- run: python ./tools/dev/ensure_headers.py
2122
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a

.github/workflows/credit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- run: pip install pygithub -e .
2626
- run: git checkout -b credit
2727
- run: python tools/dev/update_credit_json.py
28-
- run: python tools/dev/update_credit_rst.py
2928
- run: git add -f doc/sphinxext/prs/*.json
3029
- run: |
3130
git diff && git status --porcelain

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ stages:
244244
PYTHONIOENCODING: 'utf-8'
245245
AZURE_CI_WINDOWS: 'true'
246246
PYTHON_ARCH: 'x64'
247-
timeoutInMinutes: 70
247+
timeoutInMinutes: 75
248248
strategy:
249249
maxParallel: 4
250250
matrix:

doc/changes/devel/12781.other.rst

Lines changed: 1 addition & 0 deletions

doc/conf.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Configuration file for the Sphinx documentation builder.
2-
#
3-
# This file only contains a selection of the most common options. For a full
4-
# list see the documentation:
5-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
1+
"""Configuration file for the Sphinx documentation builder.
2+
3+
This file only contains a selection of the most common options. For a full
4+
list see the documentation:
5+
https://www.sphinx-doc.org/en/master/usage/configuration.html
6+
"""
7+
8+
# Authors: The MNE-Python contributors.
69
# License: BSD-3-Clause
710
# Copyright the MNE-Python contributors.
811

doc/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Authors: The MNE-Python contributors.
12
# License: BSD-3-Clause
23
# Copyright the MNE-Python contributors.
4+
35
from mne.conftest import * # noqa

doc/sphinxext/contrib_avatars.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
# Authors: The MNE-Python contributors.
12
# License: BSD-3-Clause
23
# Copyright the MNE-Python contributors.
4+
35
import os
46
from pathlib import Path
57

doc/sphinxext/flow_diagram.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
# Authors: The MNE-Python contributors.
12
# License: BSD-3-Clause
23
# Copyright the MNE-Python contributors.
4+
35
import os
46
from os import path as op
57

doc/sphinxext/gen_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
# Authors: The MNE-Python contributors.
12
# License: BSD-3-Clause
23
# Copyright the MNE-Python contributors.
4+
35
import glob
46
from importlib import import_module
57
from pathlib import Path

0 commit comments

Comments
 (0)