Skip to content

Commit

Permalink
Enable pre-commit (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha authored Feb 17, 2024
1 parent 637c49d commit 06cc627
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
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'

0 comments on commit 06cc627

Please sign in to comment.