@@ -37,22 +37,23 @@ Developing
37
37
- Isolated ( if you have pipx installed): ``pipx install uv ``
38
38
39
39
- (Optional) Configure pre-commit for commit linter checks:
40
-
41
40
.. 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
45
44
46
45
- Run from development tree. A virtual .venv will be created if you not have one
47
46
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
51
51
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
56
57
57
58
58
59
Testing
@@ -66,16 +67,19 @@ Testing
66
67
If you want to use Uv ( which enable possibility to use multiple python versions)
67
68
68
69
.. code-block :: bash
70
+
69
71
uv run -p 3.9 pytest -vvs
70
72
71
73
Or if you have a virtualenv activated with the deps installed
72
74
73
75
.. code-block :: bash
76
+
74
77
uv run -p 3.9 pytest -vvs
75
78
76
79
- These are live tests to regenerate the tests with updated data run::
77
80
78
- .. code-block :: bash
81
+ .. code-block :: shell
82
+
79
83
uv sync
80
84
PYINSP_REGEN_TEST_FIXTURES=yes uv run pytest -vvs
81
85
@@ -84,13 +88,13 @@ Documentation
84
88
-------------
85
89
86
90
.. code-block :: bash
91
+
87
92
uv sync --all-groups
88
93
hatch run validate-docs
89
94
90
95
91
-
92
96
Usage
93
- --------
97
+ -----
94
98
95
99
- Install with pip::
96
100
0 commit comments