@@ -84,7 +84,7 @@ Create next structure in the project root directory. All files are empty. That's
8484
8585Initial project layout:
8686
87- .. code-block :: bash
87+ .. code-block :: text
8888
8989 ./
9090 ├── movies/
@@ -109,7 +109,7 @@ Now it's time to install the project requirements. We will use next packages:
109109
110110Put next lines into the ``requirements.txt `` file:
111111
112- .. code-block :: bash
112+ .. code-block :: text
113113
114114 dependency-injector
115115 pyyaml
@@ -134,7 +134,7 @@ We will create a script that creates database files.
134134First add the folder ``data/ `` in the root of the project and then add the file
135135``fixtures.py `` inside of it:
136136
137- .. code-block :: bash
137+ .. code-block :: text
138138 :emphasize-lines: 2-3
139139
140140 ./
@@ -205,13 +205,13 @@ Now run in the terminal:
205205
206206 You should see:
207207
208- .. code-block :: bash
208+ .. code-block :: text
209209
210210 OK
211211
212212 Check that files ``movies.csv `` and ``movies.db `` have appeared in the ``data/ `` folder:
213213
214- .. code-block :: bash
214+ .. code-block :: text
215215 :emphasize-lines: 4-5
216216
217217 ./
@@ -289,7 +289,7 @@ After each step we will add the provider to the container.
289289
290290Create the ``entities.py `` in the ``movies `` package:
291291
292- .. code-block :: bash
292+ .. code-block :: text
293293 :emphasize-lines: 10
294294
295295 ./
@@ -356,7 +356,7 @@ Let's move on to the finders.
356356
357357Create the ``finders.py `` in the ``movies `` package:
358358
359- .. code-block :: bash
359+ .. code-block :: text
360360 :emphasize-lines: 11
361361
362362 ./
@@ -465,7 +465,7 @@ The configuration file is ready. Move on to the lister.
465465
466466Create the ``listers.py `` in the ``movies `` package:
467467
468- .. code-block :: bash
468+ .. code-block :: text
469469 :emphasize-lines: 12
470470
471471 ./
@@ -613,7 +613,7 @@ Run in the terminal:
613613
614614 You should see:
615615
616- .. code-block :: plain
616+ .. code-block :: text
617617
618618 Francis Lawrence movies:
619619 - Movie(title='The Hunger Games: Mockingjay - Part 2', year=2015, director='Francis Lawrence')
@@ -752,7 +752,7 @@ Run in the terminal:
752752
753753 You should see:
754754
755- .. code-block :: plain
755+ .. code-block :: text
756756
757757 Francis Lawrence movies:
758758 - Movie(title='The Hunger Games: Mockingjay - Part 2', year=2015, director='Francis Lawrence')
@@ -868,7 +868,7 @@ Run in the terminal line by line:
868868
869869 The output should be similar for each command:
870870
871- .. code-block :: plain
871+ .. code-block :: text
872872
873873 Francis Lawrence movies:
874874 - Movie(title='The Hunger Games: Mockingjay - Part 2', year=2015, director='Francis Lawrence')
@@ -888,7 +888,7 @@ We will use `pytest <https://docs.pytest.org/en/stable/>`_ and
888888
889889Create ``tests.py `` in the ``movies `` package:
890890
891- .. code-block :: bash
891+ .. code-block :: text
892892 :emphasize-lines: 13
893893
894894 ./
@@ -977,7 +977,7 @@ Run in the terminal:
977977
978978 You should see:
979979
980- .. code-block ::
980+ .. code-block :: text
981981
982982 platform darwin -- Python 3.10.0, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
983983 plugins: cov-3.0.0
0 commit comments