File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ pip install -U setuptools
48
48
If you use Anaconda/Miniconda, you can install ` python-lsp-server ` using this conda command
49
49
50
50
```
51
- conda install -c conda-forge python-lsp-server
51
+ conda install -c conda-forge python-lsp-server
52
52
```
53
53
54
54
Python-lsp-server is available in the repos of every major Linux distribution, and it is usually called ` python-lsp-server ` or ` python3-pylsp ` .
@@ -164,25 +164,25 @@ pip install 'python-lsp-server[websockets]'
164
164
Dev install
165
165
166
166
```
167
- # create conda env
168
- conda create --name python-lsp-server python=3.8 -y
167
+ # (optional) create conda env
168
+ conda create --name python-lsp-server python=3.11 -y
169
169
conda activate python-lsp-server
170
170
171
- pip install ".[ all] "
172
- pip install ".[ websockets] "
171
+ pip install -e ".[ all,websockets,test] "
173
172
```
174
173
175
174
Run server with ws
176
175
177
176
```
178
- pylsp --ws -v # Info level logging
179
- pylsp --ws -v -v # Debug level logging
177
+ pylsp --ws -v # Info level logging
178
+ pylsp --ws -vv # Debug level logging
180
179
```
181
180
182
181
To run the test suite:
183
182
184
183
```sh
185
- pip install ".[test]" && pytest
184
+ # requires: pip install ".[test]" (see above)
185
+ pytest
186
186
```
187
187
188
188
After adding configuration options to ` schema.json ` , refresh the ` CONFIGURATION.md ` file with
You can’t perform that action at this time.
0 commit comments