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

Plugin should ignore --recursive #32

Closed
Avasam opened this issue Nov 14, 2022 · 1 comment · Fixed by #239
Closed

Plugin should ignore --recursive #32

Avasam opened this issue Nov 14, 2022 · 1 comment · Fixed by #239
Labels
bug Issue identified by VS Code Team member as probable bug needs PR

Comments

@Avasam
Copy link

Avasam commented Nov 14, 2022

Because of the following pyproject.toml configuration:

[tool.autopep8]
recursive = true

I get the following autopep8 output:

c:\Program Files\Python39\python.exe -m autopep8 --max-line-length=120 -
CWD Server: c:\Users\Avasam\Documents\Git\Auto-Split
--recursive cannot be used with standard input

And the formatting fails. This is not an issue with in ms-python.python

@karthiknadig karthiknadig added bug Issue identified by VS Code Team member as probable bug needs PR good first issue Good for newcomers and removed triage-needed labels Jan 26, 2023
@karthiknadig karthiknadig removed their assignment Jan 26, 2023
@karthiknadig
Copy link
Member

This cannot be directly addressed in the extension, since this is not passed in via args to the extension. I created an issue on autopep8 to provide a flag to control this: see here hhatto/autopep8#675

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug needs PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants