1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

Makefile: move pylint to lib/Makefile

This commit is contained in:
Johan Andersson 2014-12-26 02:11:19 +01:00
parent d7d8297811
commit 49c2ec070d
2 changed files with 6 additions and 4 deletions

View File

@ -22,9 +22,6 @@ POD2MAN ?= pod2man --section 1 --utf8 -c "svtplay-dl manual" \
PYTHON ?= /usr/bin/env python
export PYTHONPATH=lib
# Disable convention, refactor, and TODO warnings
PYLINT_OPTS = --report=no -d I -d C -d R -d W0511
# If you don't have a python3 environment (e.g. mock for py3 and
# nosetests3), you can remove the -3 flag.
TEST_OPTS ?= -2 -3
@ -54,7 +51,7 @@ cover:
sh run-tests.sh -C
pylint:
find lib -name '*.py' -a '!' -path '*/tests/*' | xargs pylint $(PYLINT_OPTS)
$(MAKE) -C lib pylint
clean:
$(MAKE) -C lib clean

View File

@ -1,9 +1,14 @@
PYLINT_OPTS = --report=no -d I -d C -d R -d W0511
all: svtplay-dl
clean:
find . -name '*.pyc' -exec rm {} \;
rm -f svtplay-dl
pylint:
pylint $(PYLINT_OPTS) svtplay_dl
export PACKAGES = svtplay_dl \
svtplay_dl.fetcher \
svtplay_dl.utils \