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

[pep8] options ignored when [flake8] select= is present #686

Open
seanodell-zwift opened this issue Jun 14, 2023 · 0 comments
Open

[pep8] options ignored when [flake8] select= is present #686

seanodell-zwift opened this issue Jun 14, 2023 · 0 comments

Comments

@seanodell-zwift
Copy link

When .flake8 is present and contains any value for select under [flake8], the options under [pep8] are ignored.

The example below should break up the long comment, but it doesn't. If you comment out the select under [flake8] it gets broken up as expected.


Python Code

# this is a long comment

Command Line and Configuration

.flake8

[pep8]
max_line_length = 10

[flake8]
select = E112

Command Line

$ autopep8 

Your Environment

  • Python version: 3.8.6
  • autopep8 version: 2.0.2
  • Platform: linux, macOSX
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

1 participant