-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1584e2c
commit f576f48
Showing
3 changed files
with
47 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: run-common-precommit | ||
name: Run Model Common Pre-commit | ||
entry: pre-commit run --config model/common/.pre-commit-config.yaml --all-files | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
|
||
- id: run-driver-precommit | ||
name: Run Model Driver Pre-commit | ||
entry: pre-commit run --config model/driver/.pre-commit-config.yaml --all-files | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
|
||
- id: run-atmosphere-advection-precommit | ||
name: Run Model Atmosphere Advection Pre-commit | ||
entry: pre-commit run --config model/atmosphere/advection/.pre-commit-config.yaml --all-files | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
|
||
- id: run-atmosphere-diffusion-precommit | ||
name: Run Model Atmosphere Diffusion Pre-commit | ||
entry: pre-commit run --config model/atmosphere/diffusion/.pre-commit-config.yaml --all-files | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
|
||
- id: run-atmosphere-dycore-precommit | ||
name: Run Model Atmosphere Dycore Pre-commit | ||
entry: pre-commit run --config model/atmosphere/dycore/.pre-commit-config.yaml --all-files | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
|
||
- id: run-tools-precommit | ||
name: Run Tools Pre-commit | ||
entry: pre-commit run --config tools/.pre-commit-config.yaml --all-files | ||
language: system | ||
pass_filenames: false | ||
always_run: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters