ci: Add a flake8 linting job

pull/923/head
Drikus Roor 2023-04-12 09:02:05 +02:00 committed by Drikus Roor
parent fa5b71c022
commit dc0a94bba3
2 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,9 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
- name: Lint with flake8
run: flake8 scripts/ tests/
- name: Run unittest tests with coverage - name: Run unittest tests with coverage
run: | run: |
coverage run --source=scripts -m unittest discover tests coverage run --source=scripts -m unittest discover tests

View File

@ -15,4 +15,5 @@ pinecone-client==2.2.1
redis redis
orjson orjson
Pillow Pillow
coverage coverage
flake8