Skip to content

Commit

Permalink
Update pre-commit CI job (#8)
Browse files Browse the repository at this point in the history
Update pre-commit version and hooks
  • Loading branch information
fmauch authored Apr 24, 2024
1 parent 57f5b49 commit 0ba7557
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
jobs:
pre-commits:
name: pre-commit
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9.7
python-version: '3.10'
- name: "Install dependencies"
run: |
python -m pip install catkin_lint
- uses: pre-commit/action@v2.0.3
- uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files --hook-stage manual
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-docstring-first
Expand All @@ -12,7 +12,7 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 24.4.0
hooks:
- id: black
args: ["--line-length=100"]
Expand Down

0 comments on commit 0ba7557

Please sign in to comment.