Skip to content

Commit

Permalink
no need to pass 1
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Aug 30, 2023
1 parent ff215d2 commit c0e4637
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Complete Example
python-shell-virtualenv-root (pet-virtualenv-root))
(pet-flycheck-setup)
(flycheck-mode 1)
(flycheck-mode)
(setq-local lsp-jedi-executable-command
(pet-executable-find "jedi-language-server"))
Expand All @@ -227,11 +227,11 @@ Complete Example
(when-let ((black-executable (pet-executable-find "black")))
(setq-local python-black-command black-executable)
(python-black-on-save-mode 1))
(python-black-on-save-mode))
(when-let ((isort-executable (pet-executable-find "isort")))
(setq-local python-isort-command isort-executable)
(python-isort-on-save-mode 1)))))
(python-isort-on-save-mode)))))
FAQ
Expand Down

0 comments on commit c0e4637

Please sign in to comment.