Revision 29307f8ee866d9986ff005e15796f1198a317920 authored by p on 29 October 2019, 11:17:05 UTC, committed by p on 29 October 2019, 11:17:05 UTC
stdlib_unix/client_base_unix: Use re.str instead of str. See merge request tezos/tezos!1354
Makefile
TYPECHECK=mypy
# pytest causes redefined-outer-name and no-self-use
LINT=pylint -d redefined-outer-name,no-self-use,missing-docstring,too-many-arguments,too-few-public-methods,fixme,too-many-locals,too-many-public-methods,too-many-instance-attributes,R0801,c-extension-no-member
LINT2=pycodestyle
PACKAGES=daemons launchers client tools scripts tests examples tests/multibranch
LOG_DIR=tmp
some:
pytest -m "not slow"
all:
mkdir -p $(LOG_DIR)
pytest --log-dir=tmp --tb=no
injection:
pytest -s tests/test_injection.py
lint_all: lint lint2
typecheck:
$(TYPECHECK) $(PACKAGES)
lint:
$(LINT) $(PACKAGES)
lint2:
$(LINT2) $(PACKAGES)
test:
pytest tests_simple -sv
clean:
rm -rf tmp/* __pycache__ *.pyc */__pycache__ */*.pyc .mypy_cache .pytest_cache .pytype
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...