Skip to content

Commit 98fe3e6

Browse files
authored
Merge pull request #2 from ghazi-git/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 0ccf0ee + b534f97 commit 98fe3e6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ jobs:
1313
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Install dependencies
2222
run: pip install .[test]
2323

2424
- name: Run Pre-commit
25+
if: ${{ matrix.python-version != '3.8' }}
2526
run: pre-commit run --all-files --show-diff-on-failure
2627

2728
- name: Run pytest

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ exclude: '^docs/|\.tox|\.git|venv|^dist'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.4.0
5+
rev: v5.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-yaml
1010

1111
- repo: https://github.com/Zac-HD/shed
12-
rev: 2023.6.1
12+
rev: 2024.10.1
1313
hooks:
1414
- id: shed
15-
additional_dependencies: [ 'black~=23.1' ]
1615
types_or: [python, pyi, markdown, rst]

0 commit comments

Comments
 (0)