logo

... test.


We've got a base project going for us, which is nice. But let's add some proper unit tests as well as some code formatters! Note; you can find the live repository for this project here.


Notes

This is the contents of our Makefile.

black:
    black clumper tests setup.py --check

flake:
    flake8 clumper tests setup.py

test:
    pytest

check: black flake test

install:
    python -m pip install -e .

install-dev:
    python -m pip install -e ".[dev]"
    pre-commit install

install-test:
    python -m pip install -e ".[test]"

Note that the indentations here are not spaces, they are tabs!


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.