0

I'm using emacs to write my python-code and lately I found some wrong behaviour of one of the auto-format-features:

Given this wrong code:

def doStuff(self, s_database):
    return ("ASDF"

@staticmethod
def doOtherStuff(self, param):
    doSomething()

Will be formatted to this and add an extra-error:

def doStuff(self, s_database):
    return ("ASDF"

@ staticmethod
def doOtherStuff(self, param):
    doSomething()

I assume this is not intended and would like to report it to the developers, but who would that be in my case?

Here's my Elpy-Config:

Emacs.............: 26.3
Elpy..............: 1.35.0
Virtualenv........: None
Interactive Python: ipython3 7.13.0 (/usr/bin/ipython3)
RPC virtualenv....: rpc-venv (/home/qohelet/.emacs.d/elpy/rpc-venv)
 Python...........: python3 3.8.5 (/home/qohelet/.emacs.d/elpy/rpc-venv/bin/python3)
 Jedi.............: 0.18.0
 Rope.............: 0.18.0
 Autopep8.........: 1.5.5 (1.5.6 available)
 Yapf.............: 0.30.0 (0.31.0 available)
 Black............: 20.8b1
Syntax checker....: flake8 (/home/qohelet/.local/bin/flake8)

I presume it's Autopep8 or flake8 (or even pycodestyle?), but would I write to them or is there a certain developer for the emacs-package?

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.