From 50141dfb1f1800b8481ed269f7d7fc66f1c47c47 Mon Sep 17 00:00:00 2001 From: hancush Date: Tue, 18 Jun 2019 13:27:40 -0500 Subject: [PATCH] Yet more formatting --- README.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 5656de27..45c16660 100644 --- a/README.rst +++ b/README.rst @@ -28,7 +28,9 @@ Did you make changes to django-councilmatic? Before you make a pull request, run First, install the test requirements: -`pip install -r tests/requirements.txt` +.. code-block:: bash + + pip install -r tests/requirements.txt We test for style with `flake8 `_: @@ -42,13 +44,13 @@ We test for functionality with `pytest`: pytest -If you made material changes to the Councilmatic models, refresh the test fixture from a local instance database. From your instance directory (assuming you've already installed `django-councilmatic` with `pip install -e /path/to/django-councilmatic`), install the test requirements: +If you made material changes to the Councilmatic models, refresh the test fixture from a local instance database. From your instance directory (assuming you've already installed :code:`django-councilmatic` with :code:`pip install -e /path/to/django-councilmatic`), install the test requirements: .. code-block:: bash pip install -r /path/to/django-councilmatic/tests/test_requirements.txt -Add `fixture_magic` to your instance's `INSTALLED_APPS` in `settings.py`. +Add :code:`fixture_magic` to your instance's :code:`INSTALLED_APPS` in :code:`settings.py`. Run the management command to update the test fixture.