Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#560)
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 <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and larsoner authored Jun 18, 2024
1 parent c48aeaa commit f70fc09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: 'tests'
on:
push:
branches:
- '*'
- 'main'
pull_request:
branches:
- '*'

concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.type }}
cancel-in-progress: true
Expand Down Expand Up @@ -63,7 +64,7 @@ jobs:
# - run: pip install --upgrade --pre --force --only-binary=":all:" --index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" "numpy>=2.0.0rc1" scipy h5py matplotlib pandas scikit-learn statsmodels "tables>=3.9.3.dev0"
# if: matrix.mne == 'dev' && startsWith(matrix.os, 'ubuntu')
# name: Install numpy, scipy, nilearn pre
- run: pip install -ve .
- run: pip install -ve . "numpy<2"
- run: mne sys_info
- run: ./tools/get_testing_version.sh
working-directory: mne-python
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# Ruff mne
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.4.9
hooks:
- id: ruff
args: ["--fix"]
Expand Down
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ channels:
dependencies:
- python>=3.9
- pip
- conda
- mamba
- mne
- nilearn
- statsmodels
Expand Down

0 comments on commit f70fc09

Please sign in to comment.