aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/emacs.el8
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)