From 75c86e552ee6cf367d29ab09bc84f8512b3f39cf Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 29 Apr 2025 16:49:56 +0200 Subject: [PATCH] Make basedpyright less fan of type hints --- emacs/emacs.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 2.47.3