Skip to content

Commit f56d8f2

Browse files
committed
Skip python 3.6 for pre-commit
Python 3.6 will fail with pre-commit setup: Complete output (6 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/runner/.cache/pre-commit/repozbn0y53a/setup.py", line 1 from __future__ import annotations ^ SyntaxError: future feature annotations is not defined The pre-commit project has dropped support on 3.6: pre-commit/pre-commit#2215 Signed-off-by: Wayne Sun <gsun@redhat.com>
1 parent 682d324 commit f56d8f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
3030
- name: Pre Commit Checks
3131
uses: pre-commit/action@v3.0.0
32+
if: ${{ matrix.python-version != '3.6' }}

0 commit comments

Comments
 (0)