diff options
| author | Alex <alex.corcoles@veecle.io> | 2025-04-29 16:49:56 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2025-04-29 16:54:11 +0200 |
| commit | 75c86e552ee6cf367d29ab09bc84f8512b3f39cf (patch) | |
| tree | 44a61065f376c6278ab0621ca14bd4e77ebdbf67 /emacs | |
| parent | 5b3fd6b8aeb11d15ed319aed14439724469f88b0 (diff) | |
Make basedpyright less fan of type hints
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/emacs.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el index a09582be..3db0dc45 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -83,7 +83,13 @@ ;; The default setting is higher than strict, and complains (amongst others) about missing type annotations (setq-default eglot-workspace-configuration - '(:basedpyright (:typeCheckingMode "strict"))) + '(:basedpyright (:typeCheckingMode "strict") + :basedpyright.analysis (:diagnosticSeverityOverrides ( + :reportMissingParameterType "none" + :reportUnknownParameterType "none" + :reportUnknownVariableType "none" + :reportUnknownMemberType "none" + :reportUnknownArgumentType "none")))) ;; YAML support (use-package yaml-mode :ensure t) |
