Codebase list eagerpy / 1d03deef-e9d6-4994-81d8-32d1c8c6d413/v0.8.0 Makefile
1d03deef-e9d6-4994-81d8-32d1c8c6d413/v0.8.0

Tree @1d03deef-e9d6-4994-81d8-32d1c8c6d413/v0.8.0 (Download .tar.gz)

Makefile @1d03deef-e9d6-4994-81d8-32d1c8c6d413/v0.8.0raw · history · blame

.PHONY: test
test:
	pytest --verbose --ignore=eagerpy/tests/test_jax_tensor.py
	pytest --verbose eagerpy/tests/test_jax_tensor.py

.PHONY: black
black:
	black .

.PHONY: flake8
flake8:
	flake8

.PHONY: mypy
mypy:
	mypy -m eagerpy

.PHONY: install
install:
	pip3 install -e .

.PHONY: devsetup
devsetup:
	pre-commit install

.PHONY: build
build:
	python3 setup.py sdist

.PHONY: commit
commit:
	git add eagerpy/VERSION
	git commit -m 'Version $(shell cat eagerpy/VERSION)'

.PHONY: release
release: build
	twine upload dist/eagerpy-$(shell cat eagerpy/VERSION).tar.gz