From 960ee31c3fd3b7633c4f62fab4ec3de10c26ed20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 16 Sep 2024 01:34:17 -0700 Subject: [PATCH] MAINT: pre-commit config updates (#118) * MAINT: only doing monthly pre-commit update * MAINT: removing pre-commit GHA as it's in maintenance-only mode in favour of pre-commit.ci that we already use --- .github/workflows/tests.yml | 12 ------------ .pre-commit-config.yaml | 3 +++ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 205d1f9..b24a13e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,18 +9,6 @@ on: jobs: - pre-commit: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.9 - uses: actions/setup-python@v4 - with: - python-version: "3.9" - - uses: pre-commit/action@v3.0.0 - tests: strategy: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8e0f70..c44f858 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,9 @@ exclude: > \.vscode/settings\.json )$ +ci: + autoupdate_schedule: 'monthly' + repos: - repo: https://github.com/pre-commit/pre-commit-hooks