mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2024-12-23 03:51:39 +00:00
18 lines
478 B
Makefile
18 lines
478 B
Makefile
clean:
|
|
rm -rf eth2.0-specs/
|
|
rm -rf venv/
|
|
find . -name __pycache__ -exec rm -rf {} \;
|
|
find . -name .mypy_cache -exec rm -rf {} \;
|
|
find . -name .pytest_cache -exec rm -rf {} \;
|
|
|
|
install_test:
|
|
python3 -m venv venv; . venv/bin/activate; pip3 install -r requirements.txt
|
|
|
|
test:
|
|
. venv/bin/activate; python -m pytest ./src
|
|
|
|
lint:
|
|
. venv/bin/activate; \
|
|
flake8 --ignore=E252,W504,W503 --max-line-length=120 ./src \
|
|
&& mypy --follow-imports=skip --ignore-missing-imports src
|