Skip to content

Commit

Permalink
kill more mypy local vars during teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Aug 24, 2023
1 parent e5509f4 commit eb0c013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pet.el
Original file line number Diff line number Diff line change
Expand Up @@ -702,10 +702,12 @@ default otherwise."
"Reset all `flycheck' Python checker configuration to default."

(remove-hook 'flycheck-mode-hook #'pet-flycheck-toggle-local-vars)
(kill-local-variable 'flycheck-python-mypy-config)
(kill-local-variable 'flycheck-pylintrc)
(kill-local-variable 'flycheck-python-flake8-executable)
(kill-local-variable 'flycheck-python-pylint-executable)
(kill-local-variable 'flycheck-python-mypy-executable)
(kill-local-variable 'flycheck-python-mypy-python-executable)
(kill-local-variable 'flycheck-python-pyright-executable)
(kill-local-variable 'flycheck-python-pycompile-executable))

Expand Down

0 comments on commit eb0c013

Please sign in to comment.