diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml deleted file mode 100644 index a6d92eb..0000000 --- a/.github/workflows/linting.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: code-style -on: - push: - branches: "*" - pull_request: - branches: master -jobs: - pre-commit: - name: pre-commit - runs-on: ubuntu-latest - steps: - - name: checkout - uses: actions/checkout@v3 - - name: set up python - uses: actions/setup-python@v4 - with: - python-version: 3.9 - - name: Run pre-commit - uses: pre-commit/action@v3.0.0 diff --git a/README.md b/README.md index 1e59ba6..815bbe6 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![conda-forge](https://img.shields.io/conda/dn/conda-forge/xarrayutils?label=conda-forge)](https://anaconda.org/conda-forge/xarrayutils) [![Documentation Status](https://readthedocs.org/projects/xarrayutils/badge/?version=latest)](https://xarrayutils.readthedocs.io/en/latest/?badge=latest) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6360900.svg)](https://doi.org/10.5281/zenodo.6360900) +[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/jbusecke/xarrayutils/master.svg)](https://results.pre-commit.ci/latest/github/jbusecke/xarrayutils/master) diff --git a/docs/whats-new.rst b/docs/whats-new.rst index 2f777f4..fd69d5f 100644 --- a/docs/whats-new.rst +++ b/docs/whats-new.rst @@ -17,6 +17,7 @@ Breaking changes `weighted_operations.py` `numpy_utils.py` (:pull:`146`, :issue:`84`) + By `Julius Busecke `_ Documentation ~~~~~~~~~~~~~ @@ -26,6 +27,12 @@ Documentation - Switch RTD env build to mamba (:pull:`132`). By `Julius Busecke `_ + +Internal Changes +~~~~~~~~~~~~~~~~ + +- Switch linting CI to pre-commit.ci github app (:pull:`147`). + By `Julius Busecke `_ .. _whats-new.1.1.0: