forked from mne-tools/mne-connectivity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into deploy
* upstream/main: (56 commits) [CI] Fix CIs (mne-tools#164) Fix azure Fix CIs New dev for v0.7 [RELEASE] V0.6 (mne-tools#162) Try azure again [CI] Fix azure (mne-tools#161) Add gitblame [MAINT] Run black, isort, ruff, and other auto-linters on entire package (mne-tools#159) [MAINT] Replace setup.py with pyproject.toml (mne-tools#160) [BUG] Fixed issue w/ different rank-indices length (mne-tools#158) [MAINT] Refactor bivariate and multivariate methods into separate files (mne-tools#156) [MAINT] Fix failing unit tests & update CI packages (mne-tools#157) fixed grammar mistake switched to array indices & added inline comments updated default non-zero rank tolerance removed redundant list creation removed redundant ignored word switched to masked indices for multivariate conn updated time ...
- Loading branch information
Showing
80 changed files
with
7,375 additions
and
4,627 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
raison | ||
fro | ||
nd | ||
manuel | ||
ba | ||
master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[flake8] | ||
max-line-length = 100 | ||
|
||
ignore = | ||
# these rules don't play well with black | ||
# whitespace before ':' | ||
E203 | ||
# line break before binary operator | ||
W503 | ||
E241,E305,W504,W605,E731 | ||
|
||
exclude = | ||
.git | ||
.github | ||
.venv | ||
.mypy_cache | ||
.pytest_cache | ||
.circleci | ||
paper | ||
setup.py | ||
doc | ||
benchmarks | ||
build | ||
|
||
per-file-ignores = | ||
# __init__.py files are allowed to have unused imports | ||
*/__init__.py:F401 | ||
*/**/__init__.py:F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0c216d35127f48792caabdc3cca170874a443eee # black, isort, ruff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: cffconvert | ||
|
||
on: | ||
push: | ||
paths: | ||
- CITATION.cff | ||
pull_request: | ||
paths: | ||
- CITATION.cff | ||
|
||
jobs: | ||
validate: | ||
name: "validate" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out a copy of the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check whether the citation metadata from CITATION.cff is valid | ||
uses: citation-file-format/[email protected] | ||
with: | ||
args: "--validate" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: code-style | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }} | ||
cancel-in-progress: true | ||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
push: | ||
branches: [main, maint/0.2, maint/0.3, maint/0.4] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
style: | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Python 3.9 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
architecture: 'x64' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --progress-bar off --upgrade pip setuptools | ||
python -m pip install --progress-bar off .[style] | ||
- name: Run isort | ||
uses: isort/isort-action@master | ||
- name: Run black | ||
uses: psf/black@stable | ||
with: | ||
options: "--check --verbose" | ||
- name: Run Ruff | ||
run: ruff check . | ||
- name: Run codespell | ||
uses: codespell-project/actions-codespell@master | ||
with: | ||
check_filenames: true | ||
check_hidden: true | ||
skip: './.git,./build,./.mypy_cache,./.pytest_cache,./mne_icalabel/iclabel/network/assets' | ||
ignore_words_file: ./.codespellignore | ||
# - name: Run pydocstyle | ||
# run: pydocstyle . | ||
- name: Run toml-sort | ||
run: toml-sort pyproject.toml --check | ||
- name: Run yamllint | ||
run: yamllint . -c .yamllint.yml --strict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.