From c8be4785857a04e69a025d3d7148687c3b532416 Mon Sep 17 00:00:00 2001 From: Nicolas Vaagen <37600758+nicvagn@users.noreply.github.com> Date: Sun, 19 May 2024 15:40:47 -0600 Subject: [PATCH] Update python-app.yml to remove linting. --- .github/workflows/python-app.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 193c9bb..eb85652 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -21,21 +21,16 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.12" - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - 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 - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest run: | pytest