Command Cheat Sheet

edi

Enable bash completion during development and add the edi bin folder to the PATH:

source local_setup

Run the short tests (including coverage):

py.test-3 --cov=edi --cov-report=html

Run all tests (including coverage):

sudo py.test-3 --all --cov=edi --cov-report=html

Check source code using flake8:

flake8 --max-line-length=120 .

Debian

Build an edi .deb package directly:

debuild -us -uc

Build an edi .deb package using git-buildpackage:

gbp buildpackage

Install the resulting package:

sudo dpkg -i ../edi_X.X.X_all.deb

Python

Create a source distribution of edi:

python3 setup.py sdist

Install edi in editable mode (development setup):

pip3 install -e .

Documentation

Build the shinx html documentation of edi:

cd docs && make html

git

Initial personalization of git:

git config --global user.email "johndoe@example.com"
git config --global user.name "John Doe"