Skip to content

Merge commit 'f47ce5cf1ab0223670e13f2ebccd876ec98ec09d' into noresm #46

Merge commit 'f47ce5cf1ab0223670e13f2ebccd876ec98ec09d' into noresm

Merge commit 'f47ce5cf1ab0223670e13f2ebccd876ec98ec09d' into noresm #46

Workflow file for this run

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"