nasa / harmony-browse-image-generator

Other
1 stars 3 forks source link

IP-241 - Add pre-commit CI/CD. #4

Closed owenlittlejohns closed 2 months ago

owenlittlejohns commented 2 months ago

Description

This PR is to add pre-commit.ci to HyBIG, which will automatically run our pre-commit hooks for each PR. I've configured it to not automatically add a new commit with the changes, because it feels better to still have a human in the loop to review those changes.

Steps to set this up:

1) Log in to pre-commit.ci. 2) Select repositories for which I (or the person doing this) is an administrator, and add them to pre-commit.ci. 3) Update the .pre-commit-config.yaml to add the ci section. 4) Feel pleased about life.

Jira Issue ID

N/A

Local Test Steps

N/A

PR Acceptance Checklist