Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#12777)
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 6, 2024
1 parent 4dcd4d1 commit 855ca5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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.5.5
rev: v0.5.6
hooks:
- id: ruff
name: ruff lint mne
Expand Down
5 changes: 4 additions & 1 deletion tools/check_qt_import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ if [[ "$1" == "" ]]; then
echo "Qt library must be provided as first argument"
exit 1
fi
echo "Checking if Python-Qt binding $1 is available"
echo ""
LD_DEBUG=libs python -c "from $1.QtWidgets import QApplication, QWidget; app = QApplication([])"
echo "Python-Qt binding $1 is available"
echo ""
echo "Python-Qt binding $1 is available!"
2 changes: 1 addition & 1 deletion tools/github_actions_env_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else # conda-like
echo "MNE_QT_BACKEND=PyQt5" >> $GITHUB_ENV
elif [[ "$MNE_CI_KIND" == "minimal" ]]; then
echo "CONDA_ENV=tools/environment_minimal.yml" >> $GITHUB_ENV
echo "MNE_QT_BACKEND=PyQt5" >> $GITHUB_ENV
echo "MNE_QT_BACKEND=PySide6" >> $GITHUB_ENV
else # conda, mamba (use warning level for completeness)
echo "CONDA_ENV=environment.yml" >> $GITHUB_ENV
echo "MNE_LOGGING_LEVEL=warning" >> $GITHUB_ENV
Expand Down

0 comments on commit 855ca5e

Please sign in to comment.