Skip to content

Commit 8ffb159

Browse files
haploandfoy
andauthored
PR: Update third-party plugins in README (#32)
* Update third-party plugins in README * Add missing pyls-flake8 link * Better description for isort * Add link to MyPy * Add link to flake8 * Replace references to Language Server with LSP Server * Mark debounce tests as flaky Co-authored-by: Edgar Andrés Margffoy Tuay <[email protected]>
1 parent 22a746e commit 8ffb159

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ pip install -U setuptools
4343

4444
Installing these plugins will add extra functionality to the language server:
4545

46-
- [pyls-mypy](https://github.com/tomv564/pyls-mypy) Mypy type checking for Python 3
47-
- [pyls-isort](https://github.com/paradoxxxzero/pyls-isort) Isort import sort code formatting
48-
- [pyls-black](https://github.com/rupert/pyls-black) for code formatting using [Black](https://github.com/ambv/black)
49-
- [pyls-memestra](https://github.com/QuantStack/pyls-memestra) for detecting the use of deprecated APIs
46+
- [pyls-flake8](https://github.com/emanspeaks/pyls-flake8/): Error checking using [flake8](https://flake8.pycqa.org/en/latest/).
47+
- [mypy-ls](https://github.com/Richardk2n/mypy-ls): [MyPy](http://mypy-lang.org/) type checking for Python 3.
48+
- [pyls-isort](https://github.com/paradoxxxzero/pyls-isort): code formatting using [isort](https://github.com/PyCQA/isort) (automatic import sorting).
49+
- [python-lsp-black](https://github.com/python-lsp/python-lsp-black): code formatting using [Black](https://github.com/psf/black).
50+
- [pyls-memestra](https://github.com/QuantStack/pyls-memestra): detecting the use of deprecated APIs.
5051

51-
Please see the above repositories for examples on how to write plugins for the Python Language Server. Please file an issue if you require assistance writing a plugin.
52+
Please see the above repositories for examples on how to write plugins for the Python LSP Server. Please file an issue if you require assistance writing a plugin.
5253

5354
## Configuration
5455

@@ -64,7 +65,7 @@ Overall configuration is computed first from user configuration (in home directo
6465
To enable pydocstyle for linting docstrings add the following setting in your LSP configuration:
6566
`"pylsp.plugins.pydocstyle.enabled": true`
6667

67-
## Language Server Features
68+
## LSP Server Features
6869

6970
* Auto Completion
7071
* Code Linting

test/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pylsp import _utils
1010

1111

12-
@flaky
12+
@flaky(max_runs=6, min_passes=1)
1313
def test_debounce():
1414
interval = 0.1
1515
obj = mock.Mock()
@@ -33,7 +33,7 @@ def call_m():
3333
assert len(obj.mock_calls) == 2
3434

3535

36-
@flaky
36+
@flaky(max_runs=6, min_passes=1)
3737
def test_debounce_keyed_by():
3838
interval = 0.1
3939
obj = mock.Mock()

0 commit comments

Comments
 (0)