There is no way to turn off recursive when running from using standard input. This is an issue for VS Code extension trying to run autopep8 on unsaved files which have to use the stdin to format before saving.
Command Line and Configuration
.pep8, setup.cfg, ...
[tool.autopep8]
recursive = true
Command Line
python.exe -m autopep8 --max-line-length=120 -
--recursive cannot be used with standard input
The same goes for if there is in-place = true in the config. The VSCode extension just doesn't do anything if either option is present in the config: no formatting and no error.
There is no way to turn off recursive when running from using standard input. This is an issue for VS Code extension trying to run autopep8 on unsaved files which have to use the
stdin
to format before saving.Command Line and Configuration
.pep8
,setup.cfg
, ...Command Line
Your Environment