Skip to content

Commit

Permalink
Initial pre-commit application
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Nov 9, 2021
1 parent 08fa4cf commit eabf877
Show file tree
Hide file tree
Showing 127 changed files with 1,411 additions and 1,523 deletions.
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Lines should be wrapped at about 72 characters. Please also update
the CIME documentation, if necessary, in doc/source/rst and indicate
below if you need to have the gh-pages html regenerated.]

Test suite:
Test baseline:
Test namelist changes:
Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]

User interface changes?:
User interface changes?:

Update gh-pages html (Y/N)?:
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ scripts/Tools/JENKINS*
components
libraries
share

10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
exclude: 'utils/'

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-xml
files: config/
- id: end-of-file-fixer
- id: trailing-whitespace
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ find useful? Have a few minutes to tackle an issue? In this guide we will get yo
integrated into contributing to CIME!

## What Can I Do?
* Tackle any unassigned [issues](https://github.com/ESMCI/CIME/issues) you wish!
* Tackle any unassigned [issues](https://github.com/ESMCI/CIME/issues) you wish!

* Contribute code you already have. It doesn’t need to be perfect! We will help you clean
things up, test it, etc.
Expand Down
Loading

0 comments on commit eabf877

Please sign in to comment.