formatting
This commit is contained in:
parent
26563c8e7e
commit
04c4f68242
20
README.rst
20
README.rst
@ -298,27 +298,25 @@ Development
|
|||||||
|
|
||||||
Create a virtualenv and activate it followed by the installation of the dsmr-parser:
|
Create a virtualenv and activate it followed by the installation of the dsmr-parser:
|
||||||
|
|
||||||
```
|
.. code-block:: bash
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install -e .
|
pip install -e .
|
||||||
```
|
|
||||||
|
|
||||||
Install tox and run it:
|
Install tox and run it:
|
||||||
|
|
||||||
```
|
.. code-block:: bash
|
||||||
pip install tox
|
pip install tox
|
||||||
tox
|
tox
|
||||||
```
|
|
||||||
|
|
||||||
You should see that the tests have succeeded:
|
You should see that the tests have succeeded:
|
||||||
|
|
||||||
```
|
.. code-block::
|
||||||
======================================================================================================== 59 passed in 0.91s ========================================================================================================
|
======================================================================================================== 59 passed in 0.91s ========================================================================================================
|
||||||
py: commands[1]> pylama dsmr_parser test
|
py: commands[1]> pylama dsmr_parser test
|
||||||
py: OK (11.55=setup[9.73]+cmd[1.29,0.53] seconds)
|
py: OK (11.55=setup[9.73]+cmd[1.29,0.53] seconds)
|
||||||
congratulations :) (11.69 seconds)
|
congratulations :) (11.69 seconds)
|
||||||
```
|
|
||||||
|
|
||||||
Now you can make changes by editing the code and rerunning tox to verify your changes.
|
Now you can make changes by editing the code and rerunning tox to verify your changes.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user