From: Alex Date: Tue, 29 Apr 2025 14:49:56 +0000 (+0200) Subject: Make basedpyright less fan of type hints X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=75c86e552ee6cf367d29ab09bc84f8512b3f39cf;p=alex.git Make basedpyright less fan of type hints --- diff --git a/emacs/emacs.el b/emacs/emacs.el index a09582b..3db0dc4 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)