From 9d3350756b15a4187b881066678639649073ecf4 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sun, 29 Jan 2023 00:46:54 +0000 Subject: [PATCH] linting --- .github/workflows/lint.yml | 45 -------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 3d25e80..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Tests - -on: - push: - paths: - - '.github/workflows/lint.yml' - - 'deepface/**' - - 'tests/**' - - 'api/**' - - 'requirements.txt' - - '.gitignore' - - 'setup.py' - pull_request: - paths: - - '.github/workflows/lint.yml' - - 'deepface/**' - - 'tests/**' - - 'api/**' - - 'requirements.txt' - - '.gitignore' - - 'setup.py' - -jobs: - linting-tests-ubuntu-latest: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.8] - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - - name: Lint tests with pylint - run: | - pylint --fail-under=10 deepface/ -