autopep8 Questions
5
Opened a ticket with AutoPep8, but when I installed the autopep8 extension, it doesn't seem to find the module. When I change the config to tell it where it is a format doesn't do anything. Formati...
Wesson asked 11/10, 2017 at 3:9
7
Solved
I recently switched to Visual Studio Code and I have to say I love it so far.
I'm working on a Python project, which includes the pip packages pylint and autopep8 and I configured VSCode to format...
Furze asked 28/8, 2018 at 13:16
3
Solved
I'm using Visual Studio Code with the Python plugin and autopep8 with:
"editor.formatOnSave": true
I have local packages I need to import, so I have something like:
import sys
sys.path.i...
Petuntse asked 3/1, 2019 at 21:53
5
Solved
I noticed one strange thing that autopep8 autoformatting in VSCode doesn't work when we set
"python.formatting.autopep8Args": [
"--line-length 119"
],
But if this setting is...
Ossetia asked 8/8, 2020 at 10:41
4
I'm trying to get autopep8 work to properly indent Python code with 2 spaces instead of 4. I'm using VS Code with Python extension which uses autopep8 for formatting. I found here that autopep8 can...
Horticulture asked 29/1, 2019 at 22:16
3
Solved
print("Hello")
def world():
print("Hello")
world()
Gets corrected to:
print("Hello")
def world():
print("Hello")
world()
I have tried to:
Reinstall Virtual Studio Code
Reinstall Pyth...
2
I am trying to setup my python formatter to autopep8. It is installed properly, however it never as a formatting option in VSCode.
"python.formatting.autopep8Path": "C:\\Users\\Dawso...
Winy asked 26/5, 2021 at 0:12
3
Solved
I have properly installed all of the aforementioned modules on a VM I use on Ubuntu 18.04. When running either of them on a specific script or folder, they do correctly identify style errors and ou...
Claycomb asked 22/2, 2019 at 23:38
3
Solved
I am using Visual Studio Code and PEP8 is automatically formatting a part of my code, I was just learning about lambdas and I had a 3 line code like this:
It went from this 3 line code:
# Lambda ...
1
Solved
I am switching over to using Black for all my Python projects from now on. Till now I had been using autopep8 as my auto-formatter and isort to sort my imports. But while using Black I found out th...
Sensitivity asked 21/5, 2021 at 13:30
2
I receive this error when trying to install module "autopep8" for VS Code:
rrgut@DESKTOP-NQJ4S14 MINGW64 ~/Documents/Raymond/HelloWorld
$ C:/Users/rrgut/AppData/Local/Programs/Python/Pyth...
Rufford asked 12/10, 2020 at 22:52
1
How can I make the prettifier autopep8 and the linter pylint agree on how to indent my code, without disabling indentation formatting/linting altogether? I don't mind that much if it's the first o...
2
I'm under a Linux Mint 20 environment and for Python programming I have been using pyenv, which is the recommended method to install Python under Linux
I usually work with VS Code and just recently...
Catherine asked 27/9, 2020 at 2:22
1
Solved
Question
Error highlighting and autoformatting can be great tools to help one create great notebooks. I am trying to change the settings on the VS code to allow me to autoformat to pep8 in my pytho...
Taradiddle asked 21/6, 2020 at 22:17
1
I'm trying to set Visual Studio Code to format using autopep8 but ignoring E266 (too many leading '#' for block comments) to allow Markdown sub-headings in comments.
--ignore setting seems to work...
Qintar asked 5/8, 2019 at 21:21
1
Solved
I have a problem with the name of a var in a python file, using VSCode and autopep8, this is an example:
...
formal_education: bool
...
Autopep formater change the format like this:
...
formal_...
Flowerer asked 14/6, 2018 at 11:7
2
Solved
The Eclipse PyDev plugin includes fantastic integrated autopep8 support. It formats the code to PEP8 style automatically on save, with several knobs and options to tailor it to your needs.
But the...
1
Solved
I got this error having linter-pep8 installed.
Error: spawn pycodestyle ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:3...
Soughtafter asked 7/2, 2017 at 11:22
1
© 2022 - 2024 — McMap. All rights reserved.