From b1e680cdac59a503e5db8d0ff9cbfdf9b1e33158 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Fri, 23 Jan 2026 03:53:50 -0600 Subject: [PATCH 1/2] Allow pre-commit hooks to run --- .pre-commit-config.yaml | 8 ++++---- .pylintrc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d0cc86d..679f7c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,26 +2,26 @@ exclude: ^seekpath/hpkot/band_path_data repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: double-quote-string-fixer - repo: https://github.com/ikamensh/flynt/ - rev: 1.0.1 + rev: 1.0.6 hooks: - id: flynt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.0 + rev: v0.14.14 hooks: - id: ruff-format - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] - repo: https://github.com/PyCQA/prospector - rev: v1.11.0 + rev: v1.17.3 hooks: - id: prospector language: system diff --git a/.pylintrc b/.pylintrc index d080589..109a195 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,5 +1,5 @@ [MASTER] -disable=import-outside-toplevel,bad-continuation,locally-disabled,invalid-name,too-many-locals,too-many-statements,too-many-return-statements,too-many-branches +disable=import-outside-toplevel,locally-disabled,invalid-name,too-many-locals,too-many-statements,too-many-return-statements,too-many-branches [DESIGN] From cfe64625081dc2d20303745c14db241de32b1322 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Thu, 29 Jan 2026 06:25:41 -0600 Subject: [PATCH 2/2] Update GitHub action versions; install Python 3.9 for pre-commit --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6617073..d1924d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - name: Set up Python 3.8 - uses: actions/setup-python@v5 + - name: Set up Python 3.9 + uses: actions/setup-python@v6 with: - python-version: 3.8 + python-version: 3.9 - name: Install python dependencies run: |