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

Enable pre-commit #16

Merged
merged 1 commit into from
Feb 17, 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
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
ci:
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
- id: check-added-large-files
2 changes: 1 addition & 1 deletion before-notebook.d/70_setup_cp2k.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if verdi code list | grep -q 'cp2k@localhost'; then
else
echo "CP2K code not found, creating"
verdi code create core.code.installed --config /home/${NB_USER}/configs/cp2k.yaml
fi
fi
2 changes: 1 addition & 1 deletion configs/cp2k.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ description: ''
filepath_executable: /usr/bin/cp2k.psmp
label: cp2k
prepend_text: export VECLIB_MAXIMUM_THREADS=1
use_double_quotes: 'False'
use_double_quotes: 'False'