Skip to content

Commit 3cb7e5c

Browse files
committed
fix: Adjust code block for Readme
Signed-off-by: Helio Chissini de Castro <[email protected]>
1 parent 968b6af commit 3cb7e5c

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

README.rst

+20-15
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,23 @@ Developing
3737
- Isolated ( if you have pipx installed): ``pipx install uv``
3838

3939
- (Optional) Configure pre-commit for commit linter checks:
40-
4140
.. code-block:: bash
42-
pre-commit install
43-
pre-commit install --hook-type commit-msg
44-
41+
42+
pre-commit install
43+
pre-commit install --hook-type commit-msg
4544
4645
- Run from development tree. A virtual .venv will be created if you not have one
4746

48-
- You can run using uv direct
49-
.. code-block:: bash
50-
uv run python-inspector --help
47+
- You can run using uv direct
48+
.. code-block:: bash
49+
50+
uv run python-inspector --help
5151
52-
- Or if you have a virtual env activated do:
53-
.. code-block:: bash
54-
uv sync # One single time
55-
python-inspector --help
52+
- Or if you have a virtual env activated do:
53+
.. code-block:: bash
54+
55+
uv sync # One single time
56+
python-inspector --help
5657
5758
5859
Testing
@@ -61,21 +62,25 @@ Testing
6162
- Run the tests. Tests have a special dependency group with their requirements for text exclusively:
6263

6364
.. code-block:: bash
64-
uv sync --group=test
65+
66+
uv sync --group=test
6567
6668
If you want to use Uv ( which enable possibility to use multiple python versions)
6769

6870
.. code-block:: bash
71+
6972
uv run -p 3.9 pytest -vvs
7073
7174
Or if you have a virtualenv activated with the deps installed
7275

7376
.. code-block:: bash
77+
7478
uv run -p 3.9 pytest -vvs
7579
7680
- These are live tests to regenerate the tests with updated data run::
7781

78-
.. code-block:: bash
82+
.. code-block:: shell
83+
7984
uv sync
8085
PYINSP_REGEN_TEST_FIXTURES=yes uv run pytest -vvs
8186
@@ -84,13 +89,13 @@ Documentation
8489
-------------
8590

8691
.. code-block:: bash
92+
8793
uv sync --all-groups
8894
hatch run validate-docs
8995
9096
91-
9297
Usage
93-
--------
98+
-----
9499

95100
- Install with pip::
96101

0 commit comments

Comments
 (0)