From 2c5491437024b6b744cfe98ff49a84d5f79afc34 Mon Sep 17 00:00:00 2001 From: Derek Date: Thu, 26 Jan 2023 04:03:47 -0500 Subject: [PATCH] layers/+lang/python/funcs.el: Fix typo in flag (#15905) --- layers/+lang/python/funcs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/+lang/python/funcs.el b/layers/+lang/python/funcs.el index 3194c79de..90896436b 100644 --- a/layers/+lang/python/funcs.el +++ b/layers/+lang/python/funcs.el @@ -218,11 +218,11 @@ ROOT-DIR should be the path for the environemnt, `nil' for clean up" ;; from https://www.snip2code.com/Snippet/127022/Emacs-auto-remove-unused-import-statemen (defun spacemacs/python-remove-unused-imports () "Use Autoflake to remove unused imports. -Equivalent to: autoflake --remove-all-unused-imports --inplace " +Equivalent to: autoflake --remove-all-unused-imports --in-place " (interactive) (if (executable-find "autoflake") (if (not (eql 0 - (shell-command (format "autoflake --remove-all-unused-imports --inplace %s" + (shell-command (format "autoflake --remove-all-unused-imports --in-place %s" (shell-quote-argument (buffer-file-name)))))) (pop-to-buffer shell-command-buffer-name) (revert-buffer t t t))