Skip to content

Commit 54f23a6

Browse files
committed
No longer use with-eval-after-load
It's not really needed, and produced a linter warning.
1 parent 155f613 commit 54f23a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python-pytest.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,8 @@ Example: ‘MyABCThingy.__repr__’ becomes ‘test_my_abc_thingy_repr’."
586586

587587
;; third party integration
588588

589-
(with-eval-after-load 'direnv
590-
(defvar direnv-non-file-modes)
591-
(add-to-list 'direnv-non-file-modes 'python-pytest-mode))
589+
(defvar direnv-non-file-modes)
590+
(add-to-list 'direnv-non-file-modes 'python-pytest-mode)
592591

593592

594593
(provide 'python-pytest)

0 commit comments

Comments
 (0)