logo

... makefiles.


If you repeat lots of bash commands while developing then makefiles can help you out.


Notes

There are a few edits we've made to our Makefile.

test:
    pytest tests.py

clean:
    rm -rf __pycache__ .pytest_cache

flake:
    flake8 common.py tests.py

check: flake test clean

Note when you copy the above file; the indentation must be a tab in a Makefile. What you copy may contain spaces instead.


Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider getting the newsletter.