Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #574

Merged
merged 3 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "robert.luke@mq.edu.au" }]
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
Loading