From 253ee8245343d49cda9b3861ac1e431e0706240f Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Fri, 18 Aug 2023 21:46:21 -0700 Subject: [PATCH 1/4] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53d0ae2e..4f7a43fc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,3 +22,5 @@ repos: rev: v0.35.0 hooks: - id: markdownlint-fix + # MD013: line too long + args: [--disable, MD013, "--"] From c621183babb5d188101d72f02314fc8ed8a3394a Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Fri, 18 Aug 2023 21:46:52 -0700 Subject: [PATCH 2/4] Delete .markdownlint.yaml --- .markdownlint.yaml | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .markdownlint.yaml diff --git a/.markdownlint.yaml b/.markdownlint.yaml deleted file mode 100644 index b8d99517..00000000 --- a/.markdownlint.yaml +++ /dev/null @@ -1,3 +0,0 @@ -MD013: - # Number of characters - line_length: 160 From 2409e2639a4398801ae200ddb8068005f99c9887 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Fri, 18 Aug 2023 21:51:40 -0700 Subject: [PATCH 3/4] Create pre-commit.yml --- .github/workflows/pre-commit.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 00000000..cec95eec --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,13 @@ +name: pre-commit + +on: + pull_request: + push: + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0 From a17475018553bd295a8673b5f2444a85d5845697 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Fri, 18 Aug 2023 21:54:36 -0700 Subject: [PATCH 4/4] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f7a43fc..a441dfca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - - id: check-toml - id: end-of-file-fixer - id: trailing-whitespace - id: fix-encoding-pragma