From 6435015e1634774477e92a0489f002d9e13f5d8d Mon Sep 17 00:00:00 2001 From: Brad Schoening <5796692+bschoening@users.noreply.github.com> Date: Wed, 13 Mar 2024 06:33:00 -0400 Subject: [PATCH] Update build-py.yml with new ruff syntax --- .github/workflows/build-py.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-py.yml b/.github/workflows/build-py.yml index 8b33b94..e10a3e8 100644 --- a/.github/workflows/build-py.yml +++ b/.github/workflows/build-py.yml @@ -24,9 +24,9 @@ jobs: - name: Lint with ruff run: | # stop the build if there are Python syntax errors or undefined names - ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 . + ruff check . --output-format=github --select=E9,F63,F7,F82 --target-version=py38 . # default set of ruff rules with GitHub Annotations - ruff --format=github --target-version=py37 --ignore F401 . + ruff check . --output-format=github --target-version=py38 --ignore F401 . - name: Test with pytest run: | pytest