Skip to content

Commit

Permalink
Update python linters
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Mar 29, 2024
1 parent c9fe279 commit 60df96e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
- name: Lint with ruff
uses: chartboost/ruff-action@v1
with:
version: 0.3.0
version: 0.3.4
- name: Typecheck with pyright
uses: jakebailey/pyright-action@v2
with:
version: 1.1.352
version: 1.1.356
working-directory: ./tictactoe_python
- name: Thorough check with pylint
run: pylint tictactoe/
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
language: python
args: ["--write", "--check", "--output-style=google"]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.3.3
rev: v0.3.4
hooks:
- id: ruff
args:
Expand Down Expand Up @@ -70,7 +70,7 @@ repos:

# golang specific
- repo: https://github.com/golangci/golangci-lint
rev: v1.56.2
rev: v1.57.2
hooks:
- id: golangci-lint
entry: bash -c 'cd tictactoe_go && golangci-lint run --new-from-rev HEAD --fix'
Expand Down Expand Up @@ -149,7 +149,7 @@ repos:

# javascript specific
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.0.0-beta.2
rev: v9.0.0-rc.0
hooks:
- id: eslint
files: ^tictactoe_javascript/
Expand Down
8 changes: 4 additions & 4 deletions tictactoe_python/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pre-commit==3.6.2
pre-commit==3.7.0
pylint==3.1.0
pyright==1.1.352
pytest==8.0.2
pytest-cov==4.1.0
pyright==1.1.356
pytest==8.1.1
pytest-cov==5.0.0

0 comments on commit 60df96e

Please sign in to comment.