mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Makefile: move pylint to lib/Makefile
This commit is contained in:
parent
d7d8297811
commit
49c2ec070d
5
Makefile
5
Makefile
@ -22,9 +22,6 @@ POD2MAN ?= pod2man --section 1 --utf8 -c "svtplay-dl manual" \
|
|||||||
PYTHON ?= /usr/bin/env python
|
PYTHON ?= /usr/bin/env python
|
||||||
export PYTHONPATH=lib
|
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
|
# If you don't have a python3 environment (e.g. mock for py3 and
|
||||||
# nosetests3), you can remove the -3 flag.
|
# nosetests3), you can remove the -3 flag.
|
||||||
TEST_OPTS ?= -2 -3
|
TEST_OPTS ?= -2 -3
|
||||||
@ -54,7 +51,7 @@ cover:
|
|||||||
sh run-tests.sh -C
|
sh run-tests.sh -C
|
||||||
|
|
||||||
pylint:
|
pylint:
|
||||||
find lib -name '*.py' -a '!' -path '*/tests/*' | xargs pylint $(PYLINT_OPTS)
|
$(MAKE) -C lib pylint
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C lib clean
|
$(MAKE) -C lib clean
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
|
PYLINT_OPTS = --report=no -d I -d C -d R -d W0511
|
||||||
|
|
||||||
all: svtplay-dl
|
all: svtplay-dl
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find . -name '*.pyc' -exec rm {} \;
|
find . -name '*.pyc' -exec rm {} \;
|
||||||
rm -f svtplay-dl
|
rm -f svtplay-dl
|
||||||
|
|
||||||
|
pylint:
|
||||||
|
pylint $(PYLINT_OPTS) svtplay_dl
|
||||||
|
|
||||||
export PACKAGES = svtplay_dl \
|
export PACKAGES = svtplay_dl \
|
||||||
svtplay_dl.fetcher \
|
svtplay_dl.fetcher \
|
||||||
svtplay_dl.utils \
|
svtplay_dl.utils \
|
||||||
|
Loading…
Reference in New Issue
Block a user