mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 03:55:21 +00:00
nn
This commit is contained in:
parent
d1fd206c73
commit
fe7b4f8fd5
49
.github/workflows/lint.yml
vendored
49
.github/workflows/lint.yml
vendored
@ -1,49 +0,0 @@
|
|||||||
name: Lint
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- '.github/workflows/tests.yml'
|
|
||||||
- '.github/workflows/lint.yml'
|
|
||||||
- 'deepface/**'
|
|
||||||
- 'tests/**'
|
|
||||||
- 'api/**'
|
|
||||||
- 'requirements.txt'
|
|
||||||
- '.gitignore'
|
|
||||||
- 'setup.py'
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- '.github/workflows/tests.yml'
|
|
||||||
- '.github/workflows/lint.yml'
|
|
||||||
- 'deepface/**'
|
|
||||||
- 'tests/**'
|
|
||||||
- 'api/**'
|
|
||||||
- 'requirements.txt'
|
|
||||||
- '.gitignore'
|
|
||||||
- 'setup.py'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint-with-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
|
|
||||||
pip install black
|
|
||||||
pip install .
|
|
||||||
|
|
||||||
- name: Lint with pylint
|
|
||||||
run: |
|
|
||||||
pylint --fail-under=10 deepface/
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user