Questions tagged [elpy]
Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines a number of other packages, written in Emacs Lisp as well as Python.
135 questions
0 votes
0 answers
34 views
Emacs: Elpy: Popup suggestions menu not displayed in ipython shell (getting suggestions in *Completions* buffer instead after pressing `TAB`)
I am using Emacs 30.1 on MacOS and have configured Elpy. The auto complete popup is working properly in python file (for e.g. typing 'a'.l shows me below popup ). However, when I type 'a'.l in the ...
0 votes
1 answer
101 views
Cannot get elpy to find jedi in my venv even though it is installed via pip and via melpa
I've been struggling to setup a python IDE elpy in emacs 27.1 on Ubuntu 22.04, but I'm running into issues. I got a fresh install of Emacs (fixed the issues with expired GNU gpg keys) and installed ...
1 vote
1 answer
70 views
Emacs: elpy-shell-send-region-or-buffer is not using Python virtualenv
I am using GNU Emacs 29.3 on Windows 11 and have configured Elpy manually. I am a beginner in Elpy. It seems to be working as expected. I can see the auto-completion and documentation hints. However, ...
1 vote
1 answer
123 views
What is the Elpy "autodoc" module and how do I enable it?
In the documentation for Elpy 1.35, near the part about elpy-doc, there is a statment to the effect of If the autodoc module is enabled (not by default) ... What is the autodoc module, and how does ...
3 votes
6 answers
624 views
__PYTHON_EL_eval_file prints in interpreter when sending python file from buffer using C-x C-l
Whenever I send the a Python buffer to the interpreter via C-x C-l it prints the file eval call as shown below. While it does print the correct output, it's a bit annoying to see it every time and I'd ...
1 vote
1 answer
93 views
How to have an elpy breakpoint in a different file
When running tests or scripts using elpy, I would like to set a breakpoint in a different file than the file that is the start of execution. However, from documentation, I see I can only set a ...
1 vote
0 answers
262 views
Flymake: how can I modify/ignore syntax and styling rules?
This question was asked before here, but the solution doesn't work. It could be because I am not restarting flymake correctly. The question is: how to have flymake ignore certain errors and warnings? ...
1 vote
1 answer
1k views
Type / Annotation hints with lsp. Working example?
Can somebody who has made type hints work give the init.el example that shows how? And provide description of how it works for you inside Emacs? I gather that some people have successfully moved from ...