diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6116615..f33dfaf 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,5 +1,5 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions +# This workflow will install Python dependencies, run tests, and lint with a variety of Python versions +# For more information, see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Python package @@ -16,10 +16,10 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', 3.8, 3.9, '3.10', '3.11', '3.12'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.7 from deadsnakes if: matrix.python-version == '3.7' @@ -34,7 +34,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} if: matrix.python-version != '3.7' - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -46,7 +46,7 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics # exit-zero treats all errors as warnings flake8 . --count --exit-zero --statistics