From 4a80049f0d6de2f59b324cb511fdf77f2eb24478 Mon Sep 17 00:00:00 2001 From: Owen Littlejohns Date: Thu, 11 Apr 2024 18:22:36 -0400 Subject: [PATCH] IP-241 - Add pre-commit CI/CD. --- .pre-commit-config.yaml | 2 ++ README.md | 3 +++ 2 files changed, 5 insertions(+) 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 7d9c19a..3777706 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,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. + ## Releasing a new version of the service: Once a new Docker image has been published with a new semantic version tag,