From 02a95dffdd65f06ba90ebd9e576bcddd963410a0 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sun, 29 Jan 2023 01:05:10 +0000 Subject: [PATCH] linting --- .github/workflows/tests.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eaa0181..e4a5b8c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,6 +4,7 @@ on: push: paths: - '.github/workflows/tests.yml' + - '.github/workflows/lint.yml' - 'deepface/**' - 'tests/**' - 'api/**' @@ -13,6 +14,7 @@ on: pull_request: paths: - '.github/workflows/tests.yml' + - '.github/workflows/lint.yml' - 'deepface/**' - 'tests/**' - 'api/**' @@ -62,13 +64,9 @@ jobs: run: | python -m pip install --upgrade pip pip install pytest - pip install pylint - pip install black pip install . - name: Test with pytest run: | cd tests - pytest unit_tests.py - pylint --fail-under=10 ../deepface/ - + pytest unit_tests.py