adding api folder to run linting

This commit is contained in:
Sefik Ilkin Serengil 2024-02-04 10:36:45 +00:00
parent 08131731c5
commit fe977673be
2 changed files with 2 additions and 2 deletions

View File

@ -66,4 +66,4 @@ jobs:
- name: Lint with pylint - name: Lint with pylint
run: | run: |
pylint --fail-under=10 deepface/ pylint --fail-under=10 deepface/ api/

View File

@ -2,7 +2,7 @@ test:
cd tests && python -m pytest . -s --disable-warnings cd tests && python -m pytest . -s --disable-warnings
lint: lint:
python -m pylint deepface/ --fail-under=10 python -m pylint deepface/ api/ --fail-under=10
coverage: coverage:
pip install pytest-cov && cd tests && python -m pytest --cov=deepface pip install pytest-cov && cd tests && python -m pytest --cov=deepface