swh:1:snp:9c27352633c4639a943e316050a7b904f57900e2
Raw File
Tip revision: 8749549dc952a305108279d8e3987012aff319db authored by Romain on 06 April 2020, 14:27:16 UTC
Merge branch 'romain-zeronet' into 'master'
Tip revision: 8749549
Makefile
TYPECHECK=mypy
LINT=pylint
LINT2=pycodestyle
PACKAGES=daemons launchers client tools scripts tests examples tests/multibranch
LOG_DIR=tmp

fast:
	pytest -m "not slow"

all:
	mkdir -p $(LOG_DIR)
	pytest --log-dir=tmp --tb=no

lint_all: lint lint2

typecheck:
	$(TYPECHECK) $(PACKAGES)

lint:
	@echo "Linting with pylint, version:"
	@pylint --version | sed 's/^/  /'
	$(LINT) $(PACKAGES)

lint2:
	@echo "Linting with pycodestyle version `pycodestyle --version`"
	$(LINT2) $(PACKAGES)

clean:
	rm -rf tmp/*  __pycache__ *.pyc */__pycache__ */*.pyc .mypy_cache .pytest_cache .pytype
back to top