Skip to content

Commit d80f656

Browse files
committed
Fix README code block
1 parent c648fcd commit d80f656

1 file changed

Lines changed: 20 additions & 16 deletions

File tree

README.rst

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -216,28 +216,32 @@ Local development and testing
216216
-----------------------------
217217

218218
Setup:
219-
```bash
220-
pip install -e .
221-
pip install -r tests/requirements.txt -r docs/requirements.txt
222-
```
219+
220+
.. code:: bash
221+
222+
pip install -e .
223+
pip install -r tests/requirements.txt -r docs/requirements.txt
223224
224225
Linter:
225-
```bash
226-
flake8 setup.py docs/conf.py tests/ webgeocalc/
227-
pylint webgeocalc/ tests/*.py
228-
```
226+
227+
.. code:: bash
228+
229+
flake8 setup.py docs/conf.py tests/ webgeocalc/
230+
pylint webgeocalc/ tests/*.py
229231
230232
Pytest:
231-
```bash
232-
pytest --cov=webgeocalc/ tests/
233-
pytest --nbval-lax examples/
234-
```
233+
234+
.. code:: bash
235+
236+
pytest --cov=webgeocalc/ tests/
237+
pytest --nbval-lax examples/
235238
236239
Docs:
237-
```bash
238-
sphinx-build docs docs/_build --color -W -bhtml
239-
sphinx-build docs docs/_build --color -W -bdoctest
240-
```
240+
241+
.. code:: bash
242+
243+
sphinx-build docs docs/_build --color -W -bhtml
244+
sphinx-build docs docs/_build --color -W -bdoctest
241245
242246
243247
Disclaimer

0 commit comments

Comments
 (0)