Skip to content

Commit a4d4860

Browse files
committed
Remove pylint artifacts
1 parent a8d113b commit a4d4860

File tree

13 files changed

+32
-270
lines changed

13 files changed

+32
-270
lines changed

.pylintrc

Lines changed: 0 additions & 214 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# jedi-language-server
1+
# Jedi Language Server
22

33
[![image-version](https://img.shields.io/pypi/v/jedi-language-server.svg)](https://python.org/pypi/jedi-language-server)
44
[![image-license](https://img.shields.io/pypi/l/jedi-language-server.svg)](https://python.org/pypi/jedi-language-server)
@@ -11,17 +11,17 @@ A [Python](https://www.python.org/) [Language Server](https://microsoft.github.i
1111

1212
## Installation
1313

14-
Some frameworks, like coc-jedi and vscode-python, will install and manage jedi-language-server for you. If you're setting up manually, you can run the following from your command line (bash / zsh):
14+
Some frameworks, like coc-jedi and vscode-python, will install and manage `jedi-language-server` for you. If you're setting up manually, you can run the following from your command line (bash / zsh):
1515

1616
```bash
1717
pip install -U jedi-language-server
1818
```
1919

20-
Alternatively (and preferably), use [pipx](https://github.com/pipxproject/pipx) to keep jedi-language-server and its dependencies isolated from your other Python dependencies. Don't worry, jedi is smart enough to figure out which Virtual environment you're currently using!
20+
Alternatively (and preferably), use [pipx](https://github.com/pipxproject/pipx) to keep `jedi-language-server` and its dependencies isolated from your other Python dependencies. Don't worry, jedi is smart enough to figure out which Virtual environment you're currently using!
2121

2222
## Editor Setup
2323

24-
The following instructions show how to use jedi-language-server with your development tooling. The instructions assume you have already installed jedi-language-server.
24+
The following instructions show how to use `jedi-language-server` with your development tooling. The instructions assume you have already installed `jedi-language-server`.
2525

2626
### Vim / Neovim
2727

@@ -45,13 +45,13 @@ Note: this list is non-exhaustive. If you know of a great choice not included in
4545

4646
### Visual Studio Code (vscode)
4747

48-
Starting from the [October 2021 release](https://github.com/microsoft/vscode-python/releases/tag/2021.10.1317843341), set the `python.languageServer` setting to `Jedi` to use jedi-language-server.
48+
Starting from the [October 2021 release](https://github.com/microsoft/vscode-python/releases/tag/2021.10.1317843341), set the `python.languageServer` setting to `Jedi` to use `jedi-language-server`.
4949

5050
See: <https://github.com/pappasam/jedi-language-server/issues/50#issuecomment-781101169>
5151

5252
## Configuration
5353

54-
jedi-language-server supports the following [initializationOptions](https://microsoft.github.io/language-server-protocol/specification#initialize):
54+
`jedi-language-server` supports the following [initializationOptions](https://microsoft.github.io/language-server-protocol/specification#initialize):
5555

5656
```json
5757
{
@@ -107,12 +107,12 @@ The different sections of the InitializationOptions are explained below, in deta
107107

108108
### markupKindPreferred
109109

110-
The preferred MarkupKind for all jedi-language-server messages that take [MarkupContent](https://microsoft.github.io/language-server-protocol/specification#markupContent).
110+
The preferred MarkupKind for all `jedi-language-server` messages that take [MarkupContent](https://microsoft.github.io/language-server-protocol/specification#markupContent).
111111

112112
- type: `string`
113113
- accepted values: `"markdown"`, `"plaintext"`
114114

115-
If omitted, jedi-language-server defaults to the client-preferred configuration. If there is no client-preferred configuration, jedi language server users `"plaintext"`.
115+
If omitted, `jedi-language-server` defaults to the client-preferred configuration. If there is no client-preferred configuration, jedi language server users `"plaintext"`.
116116

117117
### jediSettings.autoImportModules
118118

@@ -329,7 +329,7 @@ Disable hover text identified by name in list of jedi-type specified.
329329

330330
#### hover.disable.\[jedi-type\].fullNames
331331

332-
Disable hover text identified by the fully qualified name in list of jedi-type specified. If no fully qualified name can be found, jedi-language-server will default to the name to prevent any unexpected behavior for users (relevant for jedi types like keywords that don't have full names).
332+
Disable hover text identified by the fully qualified name in list of jedi-type specified. If no fully qualified name can be found, `jedi-language-server` will default to the name to prevent any unexpected behavior for users (relevant for jedi types like keywords that don't have full names).
333333

334334
- type: `string[]`
335335
- default: `[]`
@@ -390,7 +390,7 @@ Maximum number of symbols returned by a call to `workspace/symbols`.
390390
}
391391
```
392392

393-
A value less than or equal to zero removes the maximum and allows jedi-language-server to return all workplace symbols found by jedi.
393+
A value less than or equal to zero removes the maximum and allows `jedi-language-server` to return all workplace symbols found by jedi.
394394

395395
### workspace.symbols.ignoreFolders
396396

@@ -415,15 +415,15 @@ If you manually set this option, it overrides the default. Setting it to an empt
415415

416416
Diagnostics are provided by Python's built-in `compile` function.
417417

418-
If you would like additional diagnostics (from [pylint](https://github.com/PyCQA/pylint), [mypy](https://github.com/python/mypy), etc.), we recommend using other tools (like [diagnostic-language-server](https://github.com/iamcco/diagnostic-languageserver)) to complement `jedi-language-server`.
418+
If you would like additional diagnostics, we recommend using other tools (like [diagnostic-language-server](https://github.com/iamcco/diagnostic-languageserver)) to complement `jedi-language-server`.
419419

420420
## Code Formatting
421421

422422
Again, we recommend that you use [diagnostic-language-server](https://github.com/iamcco/diagnostic-languageserver). It also supports code formatting.
423423

424424
## Command line usage
425425

426-
jedi-language-server can be run directly from the command line.
426+
`jedi-language-server` can be run directly from the command line.
427427

428428
```console
429429
$ jedi-language-server --help
@@ -519,9 +519,9 @@ make tests
519519

520520
## Inspiration
521521

522-
Palantir's [python-language-server](https://github.com/palantir/python-language-server) inspired this project. In fact, for consistency's sake, many of python-language-server's CLI options are used as-is in jedi-language-server.
522+
Palantir's [python-language-server](https://github.com/palantir/python-language-server) inspired this project. In fact, for consistency's sake, many of python-language-server's CLI options are used as-is in `jedi-language-server`.
523523

524-
Unlike python-language-server, jedi-language-server:
524+
Unlike python-language-server, `jedi-language-server`:
525525

526526
- Uses [pygls](https://github.com/openlawlibrary/pygls) instead of creating its own low-level Language Server Protocol bindings
527527
- Supports one powerful 3rd party static analysis / completion / refactoring library: Jedi. By only supporting Jedi, we can focus on supporting all Jedi features without exposing ourselves to too many broken 3rd party dependencies (I'm looking at you, [rope](https://github.com/python-rope/rope)).

jedi_language_server/initialization_options.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@
1313
from cattrs.gen import make_dict_structure_fn, override
1414
from lsprotocol.types import MarkupKind
1515

16-
# pylint: disable=invalid-field-call
17-
# pylint: disable=missing-class-docstring
18-
# pylint: disable=too-few-public-methods
19-
2016
if sys.version_info >= (3, 10):
21-
# pylint: disable-next=unexpected-keyword-arg
2217
light_dataclass = dataclass(kw_only=True, eq=False, match_args=False)
2318
else:
2419
light_dataclass = dataclass(eq=False)

0 commit comments

Comments
 (0)