Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#574)
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>
  • Loading branch information
pre-commit-ci[bot] authored Aug 27, 2024
1 parent 1e43928 commit 230be59
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 46 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/Docker_Release_Latest.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- os: ubuntu-latest
mne: stable
kind: pip
python: "3.9" # oldest
python: "3.10" # oldest
- os: ubuntu-latest
mne: dev
kind: pip
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.6.1
rev: v0.6.2
hooks:
- id: ruff
args: ["--fix"]
Expand Down
13 changes: 3 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
ARG mne_python_v=main
ARG mne_python_v=latest
ARG nilearn_v=main
ARG mne_bids_v=main
ARG mne_nirs_v=main

FROM ghcr.io/mne-tools/mne-python-plot:${mne_python_v}

ARG nilearn_v
ARG mne_bids_v
ARG mne_nirs_v

USER root
USER mne_user
WORKDIR $HOME_DIR

RUN apt-get update && apt-get install -y --no-install-recommends git
RUN pip install statsmodels dabest fooof h5io
RUN pip install git+https://github.com/nilearn/nilearn.git@${nilearn_v}
RUN pip install git+https://github.com/mne-tools/mne-bids.git@${mne_bids_v}
RUN pip install git+https://github.com/mne-tools/mne-nirs.git@${mne_nirs_v}

# Copy examples
COPY ./ /home/mne_user/

USER $MNE_USER
WORKDIR $HOME_DIR

ENTRYPOINT ["tini", "-g", "--", "/usr/bin/prepare.sh"]
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: mne-nirs
channels:
- conda-forge
dependencies:
- python>=3.9
- python>=3.10
- pip
- conda
- mamba
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ maintainers = [{ name = "Robert Luke", email = "[email protected]" }]
license = { text = "BSD-3-Clause" }
readme = { file = "README.rst", content-type = "text/x-rst" }

requires-python = ">=3.9"
requires-python = ">=3.10"
keywords = [
"neuroscience",
"neuroimaging",
Expand Down
1 change: 0 additions & 1 deletion requirements_doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ seaborn
fooof
snirf
statsmodels
dabest
mne-qt-browser

0 comments on commit 230be59

Please sign in to comment.