Before proceeding follow the guide in README to set up the virtual environment. Make sure you have it activated before installing additional packages.
$ source venv/bin/activate(venv) $ pip install -r requirements-dev.txt(venv) $ pre-commit install