From 673e9d81a5c1e5da113c8ce202ef52f6c537f9f6 Mon Sep 17 00:00:00 2001 From: Alan Christie Date: Wed, 19 Jun 2024 10:19:59 +0100 Subject: [PATCH] Updated pre-commit versions and action versions --- .github/workflows/mypy.yaml | 4 ++-- .github/workflows/test.yaml | 12 ++++++------ .pre-commit-config.yaml | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index c112df2..373d407 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -24,9 +24,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Run mypy diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4455d5f..c023105 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,9 +21,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Pre-commit check @@ -38,9 +38,9 @@ jobs: - static-analysis steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Test command help @@ -57,9 +57,9 @@ jobs: - command-help steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Test test-data config diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2f13e9..f1e34e5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: # Standard pre-commit rules - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-case-conflict - id: check-docstring-first @@ -22,7 +22,7 @@ repos: - --markdown-linebreak-ext=md # Black (uncompromising) Python code formatter - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.4.2 hooks: - id: black args: @@ -35,7 +35,7 @@ repos: # files: ^xchemalign # Pylint - repo: https://github.com/pycqa/pylint - rev: v2.17.4 + rev: v3.2.3 hooks: - id: pylint args: