Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1006)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and larsoner authored Oct 22, 2024
1 parent cce897d commit 094926e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true

on: [push, pull_request]
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
check-doc:
Expand All @@ -18,7 +22,7 @@ jobs:
with:
python-version: "3.12"
- run: pip install --upgrade pip
- run: pip install -ve .[tests] codespell tomli
- run: pip install -ve .[tests] codespell tomli --only-binary="numpy,scipy,pandas,matplotlib,pyarrow,numexpr"
- run: make codespell-error
- run: pytest mne_bids_pipeline -m "not dataset_test"
- uses: codecov/codecov-action@v4
Expand All @@ -31,7 +35,7 @@ jobs:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
shell: bash -e {0}
strategy:
matrix:
include:
Expand All @@ -50,7 +54,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -ve .[tests]
- run: pip install -ve .[tests] --only-binary="numpy,scipy,pandas,matplotlib,pyarrow,numexpr"
- uses: actions/cache@v4
with:
key: ds001971
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
files: ^(.*\.(py|yaml))$
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: ["--fix"]
Expand Down

0 comments on commit 094926e

Please sign in to comment.