Skip to content

Commit b871c68

Browse files
committed
fix: Adjust code block for Readme
Signed-off-by: Helio Chissini de Castro <[email protected]>
1 parent 13e07c0 commit b871c68

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

README.rst

+18-14
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
@@ -66,16 +67,19 @@ Testing
6667
If you want to use Uv ( which enable possibility to use multiple python versions)
6768

6869
.. code-block:: bash
70+
6971
uv run -p 3.9 pytest -vvs
7072
7173
Or if you have a virtualenv activated with the deps installed
7274

7375
.. code-block:: bash
76+
7477
uv run -p 3.9 pytest -vvs
7578
7679
- These are live tests to regenerate the tests with updated data run::
7780

78-
.. code-block:: bash
81+
.. code-block:: shell
82+
7983
uv sync
8084
PYINSP_REGEN_TEST_FIXTURES=yes uv run pytest -vvs
8185
@@ -84,13 +88,13 @@ Documentation
8488
-------------
8589

8690
.. code-block:: bash
91+
8792
uv sync --all-groups
8893
hatch run validate-docs
8994
9095
91-
9296
Usage
93-
--------
97+
-----
9498

9599
- Install with pip::
96100

0 commit comments

Comments
 (0)