Compare commits

...

7 Commits

Author SHA1 Message Date
6c4f058cf6 formatting 2024-08-25 14:51:36 +02:00
34f419d10f formatting 2024-08-25 14:51:17 +02:00
a73585c862 formatting 2024-08-25 14:50:38 +02:00
9a3d7e2a85 formatting 2024-08-25 14:49:26 +02:00
04c4f68242 formatting 2024-08-25 14:48:53 +02:00
26563c8e7e formatting 2024-08-25 14:47:24 +02:00
0270b61d15 added a bit of documentation on how to run tests 2024-08-25 14:43:37 +02:00

View File

@ -293,6 +293,36 @@ To install DSMR Parser:
$ pip install dsmr-parser
Development
-----------
Create a virtualenv and activate it followed by the installation of the dsmr-parser:
.. code-block:: bash
python3 -m venv venv
source venv/bin/activate
pip install -e .
Install tox and run it:
.. code-block:: bash
pip install tox
tox
You should see that the tests have succeeded:
.. code-block:: text
======================================================================================================== 59 passed in 0.91s ========================================================================================================
py: commands[1]> pylama dsmr_parser test
py: OK (11.55=setup[9.73]+cmd[1.29,0.53] seconds)
congratulations :) (11.69 seconds)
Now you can make changes by editing the code and rerunning tox to verify your changes.
Known issues
------------