Skip to content

Commit

Permalink
Update pre-commit and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Jul 12, 2024
1 parent 8985ab8 commit e1dfd83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,19 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r tests/requirements.txt
- name: Check formatting with black
uses: psf/black@stable
- name: Lint with ruff
uses: chartboost/ruff-action@v1
with:
version: 0.5.0
version: 0.5.1
- name: Check formatting with ruff
uses: chartboost/ruff-action@v1
with:
version: 0.5.1
args: format
- name: Typecheck with pyright
uses: jakebailey/pyright-action@v2
with:
version: 1.1.370
version: 1.1.371
working-directory: ./tictactoe_python
- name: Thorough check with pylint
run: pylint tictactoe/
Expand Down
8 changes: 4 additions & 4 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.22.9
rev: v1.23.2
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.0
rev: v0.5.1
hooks:
- id: ruff
args:
Expand Down Expand Up @@ -198,7 +198,7 @@ repos:

# ruby specific
- repo: https://github.com/rubocop/rubocop
rev: v1.64.1
rev: v1.65.0
hooks:
- id: rubocop

Expand Down Expand Up @@ -233,7 +233,7 @@ repos:

# Perl specific
- repo: https://github.com/perltidy/perltidy
rev: "20240511.04"
rev: "20240511.05"
hooks:
- id: perltidy
files: ^tictactoe_perl/
Expand Down

0 comments on commit e1dfd83

Please sign in to comment.