-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
033cd61
commit 0382c0b
Showing
1 changed file
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
;; Contains all the default values from: | ||
;; https://github.com/python-lsp/python-lsp-server/blob/develop/pylsp/config/schema.json | ||
;; 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). | ||
|
||
;; ((nil | ||
;; . ((eglot-workspace-configuration | ||
;; . (:pylsp (:plugins (:jedi_completion (:include_params t | ||
;; :fuzzy t) | ||
;; :pylint (:enabled t))) | ||
;; :gopls (:usePlaceholders t))))) | ||
;; (python-base-mode . ((indent-tabs-mode . nil))) | ||
;; (go-mode . ((indent-tabs-mode . t)))) | ||
|
||
((python-ts-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 . t) | ||
(args . nil) | ||
(executable . nil)) | ||
(rope_completion | ||
(enabled . t) | ||
(eager . :json-false)) | ||
(yapf (enabled . t)))))))))) |