From 553c7956984e87611d36443deb593e0b7fd2e7a1 Mon Sep 17 00:00:00 2001 From: Jan-Eric Nitschke <47750513+JanEricNitschke@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:42:45 +0200 Subject: [PATCH] Update pre-commit and python CI --- .github/workflows/python.yaml | 6 +++--- .pre-commit-config.yaml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index b32b822..b580246 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -33,16 +33,16 @@ jobs: - name: Lint with ruff uses: chartboost/ruff-action@v1 with: - version: 0.5.1 + version: 0.6.2 - name: Check formatting with ruff uses: chartboost/ruff-action@v1 with: - version: 0.5.1 + version: 0.6.2 args: format - name: Typecheck with pyright uses: jakebailey/pyright-action@v2 with: - version: 1.1.371 + version: 1.1.377 working-directory: ./tictactoe_python - name: Thorough check with pylint run: pylint tictactoe/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc24da6..54b0a5f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: check-builtin-literals language: python - repo: https://github.com/crate-ci/typos - rev: v1.23.6 + rev: v1.24.1 hooks: - id: typos args: [] @@ -40,7 +40,7 @@ repos: language: python args: ["--write", "--check", "--output-style=google"] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.5.7 + rev: v0.6.2 hooks: - id: ruff args: @@ -70,7 +70,7 @@ repos: # golang specific - repo: https://github.com/golangci/golangci-lint - rev: v1.59.1 + rev: v1.60.3 hooks: - id: golangci-lint entry: bash -c 'cd tictactoe_go && golangci-lint run --new-from-rev HEAD --fix' @@ -171,7 +171,7 @@ repos: # javascript specific - repo: https://github.com/pre-commit/mirrors-eslint - rev: v9.9.0 + rev: v9.9.1 hooks: - id: eslint files: ^tictactoe_javascript/ @@ -233,7 +233,7 @@ repos: # Perl specific - repo: https://github.com/perltidy/perltidy - rev: "20240511.09" + rev: "20240511.10" hooks: - id: perltidy files: ^tictactoe_perl/ @@ -253,7 +253,7 @@ repos: files: ^tictactoe_bash/ - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.8.0-1 + rev: v3.9.0-1 hooks: # Choose one of: - id: shfmt # prebuilt upstream executable