fix: make sure code runs with python 3.9 #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]> | |
# SPDX-FileContributor: Amir Mohammadi <[email protected]> | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: pre-commit | |
on: | |
pull_request: | |
branches: [ "main" ] | |
push: | |
branches: [ "main" ] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- uses: pre-commit/[email protected] |