🧑‍💻 Developers

Setup

  1. First, you need to fork the GitHub repository .

    Note

    Always work on a specific branch dedicated to your patch.

  2. Then, you could need the Embedded printer DP-EH600 Technical Manual, and take a look at the features advancement .

  3. Finally, be sure to add/update tests, and documentation, within your patch.

Special Serial Device

Hint

Whenever you need a dummy serial device for your tests, you can use the loop:// port.

Testing

Dependencies

Install required packages:

python -m pip install -e '.[tests]'

How to test?

python -m pytest

And you can enhance the demo if you introduced a styling method.

Validating the code

It is important to keep a clean base code.

Dependencies

Install required packages:

python -m pip install -e '.[lint]'

How to validate?

./checks.sh

Documentation

Dependencies

Install required packages:

python -m pip install -e '.[docs]'

How to build?

sphinx-build --color -W -bhtml docs/source docs/output