From e68404176a758a1a02db722bea8a90e2ac4a4f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Sun, 20 Nov 2022 21:57:39 +0100 Subject: [PATCH] chg: [workflows] Updated build workflows. --- .builds/debian.yml | 4 ++-- .github/workflows/pythonapp.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.builds/debian.yml b/.builds/debian.yml index e6a1cd9..1da1556 100644 --- a/.builds/debian.yml +++ b/.builds/debian.yml @@ -29,9 +29,9 @@ tasks: export PATH="$PATH:/home/build/.local/bin" cd ${project} # stop the build if there are Python syntax errors or undefined names - poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + poetry run flake8 stegano --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. - poetry run flake8 . --count --max-complexity=10 --max-line-length=127 --statistics + poetry run flake8 stegano --count --max-complexity=10 --max-line-length=127 --statistics - test: | export PATH="$PATH:/home/build/.local/bin" cd ${project} diff --git a/.github/workflows/pythonapp.yaml b/.github/workflows/pythonapp.yaml index 196f3f8..ade8ab1 100644 --- a/.github/workflows/pythonapp.yaml +++ b/.github/workflows/pythonapp.yaml @@ -27,9 +27,9 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + poetry run flake8 stegano --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - poetry run flake8 . --count --max-complexity=15 --max-line-length=127 --statistics + poetry run flake8 stegano --count --max-complexity=15 --max-line-length=127 --statistics - name: Test with pytest run: |