-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for failing nag tests
- Loading branch information
Showing
747 changed files
with
53,415 additions
and
22,052 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,15 @@ | ||
# Ran python directory through black python formatter | ||
4cd83cb3ee6d85eb909403487abf5eeaf4d98911 | ||
0aa2957c1f8603c63fa30b11295c06cfddff44a5 | ||
2cdb380febb274478e84cd90945aee93f29fa2e6 | ||
e44dc469439e02e9ee582dab274d890ebdfab104 | ||
565e7bcacbb0bba20ff80d680d8ad769676641c6 | ||
b88e1cd1b28e3609684c79a2ec0e88f26cfc362b | ||
51c102c5df2e0ef971b5f8eeeb477567899af63a | ||
7dacad70e74e2ec97f6492d4e7a3cb5dd498bcd7 | ||
b771971e3299c4fa56534b93421f7a2b9c7282fd | ||
9de88bb57ea9855da408cbec1dc8acb9079eda47 | ||
8bc4688e52ea23ef688e283698f70a44388373eb | ||
# Ran SystemTests and python/ctsm through black python formatter | ||
5364ad66eaceb55dde2d3d598fe4ce37ac83a93c | ||
8056ae649c1b37f5e10aaaac79005d6e3a8b2380 |
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,37 @@ | ||
name: black check on push and PR | ||
# | ||
# Run the python formatting in check mode | ||
# | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
black-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the code | ||
- uses: actions/checkout@v2 | ||
# Use the latest stable version of the github action | ||
- uses: psf/black@stable | ||
with: | ||
# Use options and version identical to the conda environment | ||
# Using pyproject.toml makes sure this testing is consistent with our python directory testing | ||
options: "--check --config python/pyproject.toml" | ||
src: "./python" | ||
# Version should be coordinated with the ctsm_pylib conda environment under the python directory | ||
version: "22.3.0" | ||
# Actions identical to above for each directory and source file we need to check (arrays aren't allowed for src: field) | ||
- uses: psf/black@stable | ||
with: | ||
options: "--check --config python/pyproject.toml" | ||
src: "./cime_config/SystemTests" | ||
version: "22.3.0" | ||
- uses: psf/black@stable | ||
with: | ||
options: "--check --config python/pyproject.toml" | ||
src: "./cime_config/buildlib" | ||
version: "22.3.0" | ||
- uses: psf/black@stable | ||
with: | ||
options: "--check --config python/pyproject.toml" | ||
src: "./cime_config/buildnml" | ||
version: "22.3.0" |
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
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
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
Oops, something went wrong.