Skip to content

Commit ce4aed8

Browse files
committed
Fixed coverage defaults + proper formatting for code lines in RST + new lockfile
1 parent f1bd7c1 commit ce4aed8

4 files changed

Lines changed: 156 additions & 103 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ __pycache__
1111
*.wpr
1212
*.wpu
1313
.venv
14+
.coverage
15+
venv/

README.rst

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,36 @@ INSTALLING
1515

1616
To install the core module, run:
1717

18+
.. code-block::
19+
1820
pip install python-graph
1921
2022
To install the dot language support, run:
2123

24+
.. code-block::
25+
2226
pip install python-graph[dot]
2327
24-
If you want the development version, use poetry
28+
If you want the development version, use poetry. This will also install pytest and pydot.
29+
30+
.. code-block::
2531
2632
pip install poetry
2733
poetry install --with dev
2834
29-
And to run tests
35+
And to run tests:
36+
37+
.. code-block::
3038
3139
pytest
3240
41+
Coverage has some defaults set so simply run:
42+
43+
.. code-block::
44+
45+
coverage run
46+
coverage report
47+
3348
3449
DOCUMENTATION
3550
-------------

0 commit comments

Comments
 (0)