mirror of
https://github.com/Dineshkarthik/telegram_media_downloader.git
synced 2024-12-31 03:01:46 +08:00
23 lines
No EOL
494 B
Makefile
23 lines
No EOL
494 B
Makefile
TEST_ARTIFACTS ?= /tmp/coverage
|
|
|
|
.PHONY: install deps
|
|
|
|
deps: install
|
|
pip install -r dev-requirements.txt
|
|
|
|
install:
|
|
pip install --upgrade pip setuptools
|
|
pip install -r requirements.txt
|
|
|
|
static_type_check:
|
|
mypy media_downloader.py --ignore-missing-imports
|
|
|
|
pylint:
|
|
pylint media_downloader.py -r y
|
|
|
|
test:
|
|
py.test --cov media_downloader --doctest-modules \
|
|
--cov-report term-missing \
|
|
--cov-report html:${TEST_ARTIFACTS} \
|
|
--junit-xml=${TEST_ARTIFACTS}/media-downloader.xml \
|
|
tests/
|