microsoft/vscode-autopep8

.pep8 file in subdirectories is not respected

orgads opened this issue · 2 comments

orgads commented

In my project, I have an internal Python project for e2e tests. It is not the root directory. It has this layout:

package.json
e2e/.pep8
e2e/file.py

If I open the project directory in VS Code, and format e2e/file.py, it doesn't respect .pep8, and just uses the defaults.

Is it possible to support also sub .pep8 setting files?

The feature here is to add the ability to change the cwd to the one where the file is located. This will allow autopep8 to find the .pep8 files.

orgads commented

Exactly, thanks for clarifying.