name=simple-numpy

go: x-d.json go-pydescent
	/bin/true

x-d.json: simple-numpy
	# This creates the data we operate on.
	# We want 3.5+ for the @ operator.
	./this-pylint --which-2 None --which-3 /usr/local/cpython-3.6/bin/pylint --to-pylint simple-numpy
	# There's a mypy stub for numpy at https://github.com/machinalis/mypy-data/tree/master/numpy-mypy , but it appears to be
	# pretty incomplete: 2018-05-15.
	/usr/local/cpython-3.6/bin/mypy --disallow-untyped-calls --ignore-missing-imports simple-numpy
	./simple-numpy

go-pydescent: pydescent
	# We want 3.5+ for the @ operator.
	./this-pylint --which-2 None --which-3 /usr/local/cpython-3.6/bin/pylint --to-pylint pydescent
	/usr/local/cpython-3.6/bin/mypy --disallow-untyped-calls --ignore-missing-imports pydescent
	./pydescent

clean:
	rm -rf .mypy_cache x-d.json