All of my scripting is done in PyCharm as it does give me code completion on my own libraries. And like you, I used code formatting using PyCharm, but all of these tools allow me to produce code that follows a standard and is well documented.
On top of those there’s a plugin called Sourcery available for PyCharm and vscode.