From 0582407348354e0c1c00eb45130a96e550533c4a Mon Sep 17 00:00:00 2001 From: Owen Littlejohns Date: Thu, 11 Apr 2024 17:40:58 -0400 Subject: [PATCH 1/4] IP-241 - Implement pre-commit CI/CD. --- .pre-commit-config.yaml | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c59f584..230e5c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,5 @@ +ci: + autofix_prs: false repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 diff --git a/README.md b/README.md index 7199fb3..be8e4b4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# The Harmony OPeNDAP SubSetter (HOSS) +# The Harmony OPeNDAP SubSetter (HOSS) This repository contains source code and CI/CD for a [Harmony](https://wiki.earthdata.nasa.gov/spaces/viewspace.action?key=HARMONY) From ab2732d8f23cd7f9b47c7b1aa414d01ae43a158a Mon Sep 17 00:00:00 2001 From: Owen Littlejohns Date: Thu, 11 Apr 2024 17:47:54 -0400 Subject: [PATCH 2/4] IP-241 - Add another commit to trigger changes. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be8e4b4..210bdb8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # The Harmony OPeNDAP SubSetter (HOSS) -This repository contains source code and CI/CD for a +This repository contains source code and CI/CD for a [Harmony](https://wiki.earthdata.nasa.gov/spaces/viewspace.action?key=HARMONY) backend service. The Harmony OPeNDAP SubSetter (HOSS) performs variable, spatial, temporal and named-dimension subsetting by making requests to From 320e9251a06b29231b64b23eb03e34a8cce12292 Mon Sep 17 00:00:00 2001 From: Owen Littlejohns Date: Thu, 11 Apr 2024 18:10:19 -0400 Subject: [PATCH 3/4] IP-241 - Fix whitespace and update README.md. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 210bdb8..32fedac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# The Harmony OPeNDAP SubSetter (HOSS) +# The Harmony OPeNDAP SubSetter (HOSS) -This repository contains source code and CI/CD for a +This repository contains source code and CI/CD for a [Harmony](https://wiki.earthdata.nasa.gov/spaces/viewspace.action?key=HARMONY) backend service. The Harmony OPeNDAP SubSetter (HOSS) performs variable, spatial, temporal and named-dimension subsetting by making requests to @@ -273,6 +273,9 @@ review and `git add` the changes before you can make a commit. It is planned to implement additional hooks, possibly including tools such as `mypy`. +[pre-commit.ci](pre-commit-ci) is configured such that these same hooks will be +automatically run for every pull request. + ## Get in touch: You can reach out to the maintainers of this repository via email: From 7de7342e2dd459cea6a8d3b6460fe3edddbd705b Mon Sep 17 00:00:00 2001 From: Owen Littlejohns Date: Thu, 11 Apr 2024 18:12:24 -0400 Subject: [PATCH 4/4] IP-241 - Fix daft typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32fedac..f51c78c 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ review and `git add` the changes before you can make a commit. It is planned to implement additional hooks, possibly including tools such as `mypy`. -[pre-commit.ci](pre-commit-ci) is configured such that these same hooks will be +[pre-commit.ci](pre-commit.ci) is configured such that these same hooks will be automatically run for every pull request. ## Get in touch: