Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to ignore recursive. #675

Open
karthiknadig opened this issue Feb 24, 2023 · 1 comment
Open

Provide a way to ignore recursive. #675

karthiknadig opened this issue Feb 24, 2023 · 1 comment

Comments

@karthiknadig
Copy link

karthiknadig commented Feb 24, 2023

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

Your Environment

  • Python version: 3.11
  • autopep8 version: 2.0.0
  • Platform: windows
@orsinium
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants