Skip to content

Commit 291e7f8

Browse files
committed
fix(pre-commit): update hooks versions
1 parent e92f236 commit 291e7f8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ on:
3131

3232
jobs:
3333
pre-commit:
34-
runs-on: ubuntu-22.04
34+
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v5.0.0
3737
with:
3838
fetch-depth: 2
3939
- name: Get modified files
4040
id: modified-files
4141
run: echo "modified_files=$(git diff --name-only -r HEAD^1 HEAD | xargs)" >> $GITHUB_OUTPUT
42-
- uses: actions/setup-python@v3
43-
- uses: pre-commit/action@v3.0.0
42+
- uses: actions/setup-python@v6.0.0
43+
- uses: pre-commit/action@v3.0.1
4444
with:
4545
extra_args: --files ${{ steps.modified-files.outputs.modified_files }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

2727
repos:
28-
- repo: https://github.com/timothycrosley/isort
28+
- repo: https://github.com/PyCQA/isort
2929
rev: 5.12.0
3030
hooks:
3131
- id: isort
@@ -36,7 +36,7 @@ repos:
3636
- id: black
3737
types_or: [python, cython]
3838
- repo: https://github.com/PyCQA/flake8
39-
rev: 5.0.4
39+
rev: 7.3.0
4040
hooks:
4141
- id: flake8
4242
args: [--max-line-length=88, --select=C,E,F,W,B,B950, --extend-ignore = E203,E501]
@@ -57,7 +57,7 @@ repos:
5757
# More details about these pre-commit hooks here:
5858
# https://pre-commit.com/hooks.html
5959
- repo: https://github.com/pre-commit/pre-commit-hooks
60-
rev: v4.4.0
60+
rev: v6.0.0
6161
hooks:
6262
- id: check-case-conflict
6363
- id: check-executables-have-shebangs

0 commit comments

Comments
 (0)