From e00a7263fb78ef24e4f50d98f184de659555c2b0 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 6 Jul 2021 14:18:03 -0400 Subject: feat(gs/emacs): Don't display info-level flycheck errors These end up being things like "hey, you used a proc macro" which isn't useful to me, and clogs up the rest of my error navigation. Change-Id: I9ccfddcce9683184f2479ae1aa30a8414f7e7c51 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3242 Reviewed-by: grfn Tested-by: BuildkiteCI --- users/grfn/emacs.d/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/grfn/emacs.d/config.el b/users/grfn/emacs.d/config.el index 16d75ddc70..91e7a2b888 100644 --- a/users/grfn/emacs.d/config.el +++ b/users/grfn/emacs.d/config.el @@ -915,7 +915,9 @@ (modify-syntax-entry ?- "w")) (after! flycheck - (put 'flycheck-python-pylint-executable 'safe-local-variable (lambda (_) t))) + (put 'flycheck-python-pylint-executable 'safe-local-variable (lambda (_) t)) + (setq flycheck-error-list-minimum-level 'warn + flycheck-navigation-minimum-level 'warn)) (defvar alembic-command "alembic" "Command to execute when running alembic") -- cgit 1.4.1