Last active
April 4, 2022 08:55
-
-
Save jams2/57bbfa01e323d57605261430486a3b93 to your computer and use it in GitHub Desktop.
Example directory local eglot-workspace-configuration for pylsp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Contains all the default values from: | |
;; https://github.com/python-lsp/python-lsp-server/blob/develop/pylsp/config/schema.json | |
;; Works on GNU Emacs 27.1 | |
;; (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) of 2021-01-18, modified by Debian | |
;; From looking at the server output, some plugins support additional options. | |
;; `jsonrpc--json-encode' calls `json-serialize' with (:false-object :json-false) and (:null-object nil). | |
((python-mode | |
. ((eglot-workspace-configuration | |
. ((pylsp | |
. ((configurationSources . ["pycodestyle"]) | |
(plugins | |
(autopep8 (enabled . :json-false)) | |
(pylsp_black (enabled . t)) | |
(pyls_isort (enabled . t)) | |
(flake8 | |
(config . nil) | |
(enabled . :json-false) | |
(exclude . nil) | |
(executable . "flake8") | |
(filename . nil) | |
(hangClosing . nil) | |
(ignore . nil) | |
(maxLineLength . nil) | |
(indentSize . nil) | |
(perFileIgnores . nil) | |
(select . nil)) | |
(jedi (extra_paths . []) | |
(env_vars . nil) | |
(environment . nil)) | |
(jedi_completion | |
(enabled . t) | |
(include_params . t) | |
(include_class_objects . t) | |
(fuzzy . :json-false) | |
(eager . :json-false) | |
(resolve_at_most . 25) | |
(cache_for . ["pandas" "numpy" "tensorflow" "matplotlib"])) | |
(jedi_definition | |
(enabled . t) | |
(follow_imports . t) | |
(follow_builtin_imports . t)) | |
(jedi_hover | |
(enabled . t)) | |
(jedi_references | |
(enabled . t)) | |
(jedi_signature_help | |
(enabled . t)) | |
(jedi_symbols | |
(enabled . t) | |
(all_scopes . t) | |
(include_import_symbols . t)) | |
(mccabe | |
(enabled . t) | |
(threshold . 15)) | |
(preload | |
(enabled . t) | |
(modules . nil)) | |
(pycodestyle | |
(enabled . t) | |
(exclude . nil) | |
(filename . nil) | |
(select . nil) | |
(ignore . nil) | |
(hangClosing . nil) | |
(maxLineLength . nil) | |
(indentSize . nil)) | |
(pydocstyle | |
(enabled . :json-false) | |
(convention . nil) | |
(addIgnore . nil) | |
(addSelect . nil) | |
(ignore . nil) | |
(select . nil) | |
(match . "(?!test_).*\\.py") | |
(matchDir . "[^\\.].*")) | |
(pyflakes (enabled . t)) | |
(pylint | |
(enabled . :json-false) | |
(args . nil) | |
(executable . nil)) | |
(rope_completion | |
(enabled . t) | |
(eager . :json-false)) | |
(yapf (enabled . t)))))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment