Skip to content

Commit

Permalink
Update pre-commit and python CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Aug 27, 2024
1 parent b852e02 commit 553c795
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand All @@ -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:
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -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/
Expand All @@ -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
Expand Down

0 comments on commit 553c795

Please sign in to comment.