mirror of
https://github.com/Dineshkarthik/telegram_media_downloader.git
synced 2024-12-29 10:12:25 +08:00
upd: make target names
This commit is contained in:
parent
427b17a8ed
commit
eab306ca2e
2 changed files with 7 additions and 5 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
10
Makefile
10
Makefile
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue