Skip to content

Commit eabf877

Browse files
committed
Initial pre-commit application
1 parent 08fa4cf commit eabf877

File tree

127 files changed

+1411
-1523
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+1411
-1523
lines changed

.github/PULL_REQUEST_TEMPLATE

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Lines should be wrapped at about 72 characters. Please also update
44
the CIME documentation, if necessary, in doc/source/rst and indicate
55
below if you need to have the gh-pages html regenerated.]
66

7-
Test suite:
8-
Test baseline:
9-
Test namelist changes:
7+
Test suite:
8+
Test baseline:
9+
Test namelist changes:
1010
Test status: [bit for bit, roundoff, climate changing]
1111

1212
Fixes [CIME Github issue #]
1313

14-
User interface changes?:
14+
User interface changes?:
1515

1616
Update gh-pages html (Y/N)?:

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ scripts/Tools/JENKINS*
2222
components
2323
libraries
2424
share
25-

.pre-commit-config.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
exclude: 'utils/'
2+
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.0.1
6+
hooks:
7+
- id: check-xml
8+
files: config/
9+
- id: end-of-file-fixer
10+
- id: trailing-whitespace

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ find useful? Have a few minutes to tackle an issue? In this guide we will get yo
2727
integrated into contributing to CIME!
2828

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

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

0 commit comments

Comments
 (0)