upd: make target names

This commit is contained in:
Dineshkarthik 2020-12-12 21:41:32 +01:00
parent 427b17a8ed
commit eab306ca2e
No known key found for this signature in database
GPG key ID: E256EF0EECD6F201
2 changed files with 7 additions and 5 deletions

View file

@ -25,7 +25,7 @@ jobs:
if: ${{ matrix.os == 'windows-latest' }}
run: pip install --upgrade --user pip setuptools codecov
- name: Install dependencies
run: make deps
run: make dev_install
- name: Code Check - Pylint
run: make pylint
- name: Static Type Check - Mypy

View file

@ -1,20 +1,22 @@
TEST_ARTIFACTS ?= /tmp/coverage
.PHONY: install deps
deps: install
pip install -r dev-requirements.txt
.PHONY: install dev_install static_type_check pylint style_check test
install:
pip install --upgrade pip setuptools
pip install -r requirements.txt
dev_install: install
pip install -r dev-requirements.txt
static_type_check:
mypy media_downloader.py utils --ignore-missing-imports
pylint:
pylint media_downloader.py utils -r y
style_check: static_type_check pylint
test:
py.test --cov media_downloader --doctest-modules \
--cov utils \